Skip to content

Commit

Permalink
Small style improvements for vocabulary pages
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-podolskiy90 committed Nov 7, 2024
1 parent d66726f commit 86031c1
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 17 deletions.
23 changes: 14 additions & 9 deletions src/main/webapp/WEB-INF/pages/admin/vocabulary.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@
<@s.text name="vocabulary.concepts"/>
</h5>

<div class="mt-3">
<div class="mt-3 text-smaller">
<#list vocabulary.concepts as c>
<div class="row py-2 g-2 text-smaller <#sep>border-bottom</#sep>">
<div class="row py-2 g-2 <#sep>border-bottom</#sep>">
<div class="col-lg-3 mt-1">
<div class="title">
<div class="head">
Expand All @@ -121,15 +121,20 @@
<@s.text name="basic.seealso"/>: <a href="${c.link}">${c.link}</a>
</p>
</#if>
<div>
<@s.text name="vocabulary.terms.pref"/>:
<em><#list c.preferredTerms as t>${t.title} <span class="small">[${t.lang}]</span><#sep>;</#sep> </#list></em>
</div>
<ul>
<#list c.preferredTerms as t>
<li><em>${t.title} <span class="small">[${t.lang}]</span></em></li>
</#list>
</ul>
<#if c.alternativeTerms?has_content>
<div>
<p class="mb-0">
<@s.text name="vocabulary.terms.alt"/>:
<em><#list c.alternativeTerms as t>${t.title} <span class="small">[${t.lang}]</span><#sep>;</#sep> </#list></em>
</div>
</p>
<ul class="fs-smaller-2">
<#list c.alternativeTerms as t>
<li class="text-discreet"><em>${t.title} <span>[${t.lang}]</span></em></li>
</#list>
</ul>
</#if>
</div>
</div>
Expand Down
21 changes: 13 additions & 8 deletions src/main/webapp/WEB-INF/pages/manage/vocabulary.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,20 @@
<@s.text name="basic.seealso"/>: <a href="${c.link}">${c.link}</a>
</p>
</#if>
<div>
<@s.text name="vocabulary.terms.pref"/>:
<em><#list c.preferredTerms as t>${t.title} <span class="small">[${t.lang}]</span><#sep>;</#sep> </#list></em>
</div>
<ul>
<#list c.preferredTerms as t>
<li><em>${t.title} <span class="small">[${t.lang}]</span></em></li>
</#list>
</ul>
<#if c.alternativeTerms?has_content>
<div>
<@s.text name="vocabulary.terms.alt"/>:
<em><#list c.alternativeTerms as t>${t.title} <span class="small">[${t.lang}]</span><#sep>;</#sep> </#list></em>
</div>
<p class="mb-0">
<@s.text name="vocabulary.terms.alt"/>:
</p>
<ul class="fs-smaller-2">
<#list c.alternativeTerms as t>
<li class="text-discreet"><em>${t.title} <span>[${t.lang}]</span></em></li>
</#list>
</ul>
</#if>
</div>
</div>
Expand Down

0 comments on commit 86031c1

Please sign in to comment.