mirror of
https://github.com/rystaf/mlmym.git
synced 2024-11-23 05:52:12 +00:00
19 lines
820 B
HTML
19 lines
820 B
HTML
<div class="community">
|
|
<form method="POST" class="member {{ membership .Subscribed }}">
|
|
<input name="op" type="submit" value="{{ membership .Subscribed}}">
|
|
<input type="hidden" name="communityid" value ="{{ .Community.ID }}">
|
|
</form>
|
|
<span class="title"><a href="{{ if .Community.Local }}./c/{{.Community.Name}}{{else}}{{ localize .Community.ActorID }}{{end}}">c/{{fullcname .Community}}: {{.Community.Title}}</a></span>
|
|
<div class="details">
|
|
{{ if .Community.Description.IsValid }}
|
|
<div class="description">
|
|
{{ markdown "" .Community.Description.String }}
|
|
</div>
|
|
{{ end }}
|
|
<div class="gray">
|
|
{{ if .Counts.Subscribers }}{{ printer .Counts.Subscribers }} subscribers,{{end}}
|
|
a community founded {{ humanize .Community.Published.Time }}
|
|
</div>
|
|
</div>
|
|
</div>
|