Browse Source

Улучшено удобство использования при просмотре сообществ #9

pull/100/head
Artur Galyamov 2 years ago
parent
commit
efdedf8314
  1. 15
      templates/org/home.tmpl

15
templates/org/home.tmpl

@ -10,9 +10,18 @@
{{if .Org.Visibility.IsPrivate}}<div class="ui large basic horizontal label">{{.i18n.Tr "org.settings.visibility.private_shortname"}}</div>{{end}}
</span>
</div>
{{if $.RenderedDescription}}<p class="render-content markup">{{$.RenderedDescription|Str2html}}</p>{{end}}
{{if $.RenderedCompetences}}<p class="render-content markup">{{$.RenderedCompetences|Str2html}}</p>{{end}}
{{if $.RenderedResources}}<p class="render-content markup">{{$.RenderedResources|Str2html}}</p>{{end}}
{{if $.RenderedDescription}}
<h3>{{.i18n.Tr "org.org_desc"}}</h3>
<p class="render-content markup">{{$.RenderedDescription|Str2html}}</p>
{{end}}
{{if $.RenderedCompetences}}
<h3>{{.i18n.Tr "org.org_competences"}}</h3>
<p class="render-content markup">{{$.RenderedCompetences|Str2html}}</p>
{{end}}
{{if $.RenderedResources}}
<h3>{{.i18n.Tr "org.org_resources"}}</h3>
<p class="render-content markup">{{$.RenderedResources|Str2html}}</p>
{{end}}
<div class="text grey meta">
{{if .Org.Location}}<div class="item">{{svg "octicon-location"}} <span>{{.Org.Location}}</span> <span>({{.Org.LocationCoordinate}})</span></div>{{end}}
{{if .Org.Website}}<div class="item">{{svg "octicon-link"}} <a target="_blank" rel="noopener noreferrer" href="{{.Org.Website}}">{{.Org.Website}}</a></div>{{end}}

Loading…
Cancel
Save