Skip to content

Commit

Permalink
move iconography HTML to separate file
Browse files Browse the repository at this point in the history
  • Loading branch information
peterstadler committed Sep 20, 2023
1 parent 5bdd489 commit 2e77aba
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 24 deletions.
10 changes: 10 additions & 0 deletions templates/includes/iconography.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<div xmlns="http://www.w3.org/1999/xhtml" class="col-md col-sm-12 iconographie">
<div data-template="app-shared:if-exists" data-template-key="iconographyImages" data-template-wrap="no">
<h2 data-template="lang:translate">iconography</h2>
</div>
<div class="row align-items-center">
<div class="iconographythumbnail col" data-template="app-shared:each" data-template-from="iconographyImages" data-template-to="iconographyImage" data-template-max="30">
<img data-template="img:iconographyImage" src="dummy.jpg"/>
</div>
</div>
</div>
9 changes: 1 addition & 8 deletions templates/person.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,14 +148,7 @@ <h2 data-template="lang:translate">basic_data</h2>
</li>
</ol>
</div>
<div class="col-md col-sm-12 iconographie" data-template="app-shared:if-not-exists" data-template-key="addrLines">
<div data-template="app-shared:if-exists" data-template-key="iconographyImages" data-template-wrap="no">
<h2 data-template="lang:translate">iconography</h2>
</div>
<div class="iconographythumbnail" data-template="app-shared:each" data-template-from="iconographyImages" data-template-to="iconographyImage" data-template-max="30">
<img data-template="img:iconographyImage" src="dummy.jpg"/>
</div>
</div>
<div data-template="templates:include" data-template-path="templates/includes/iconography.html"/>
<div class="col-md-4 col-sm-12 address" data-template="app-shared:if-exists" data-template-key="addrLines">
<h2 data-template="lang:translate">address</h2>
<ul>
Expand Down
9 changes: 1 addition & 8 deletions templates/place.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,7 @@ <h2 data-template="lang:translate">basic_data</h2>
</li>
</ol>
</div>
<div class="col-md col-sm-12 iconographie">
<div data-template="app-shared:if-exists" data-template-key="iconographyImages" data-template-wrap="no">
<h2 data-template="lang:translate">iconography</h2>
</div>
<div class="iconographythumbnail" data-template="app-shared:each" data-template-from="iconographyImages" data-template-to="iconographyImage" data-template-max="30">
<img data-template="img:iconographyImage" src="dummy.jpg"/>
</div>
</div>
<div data-template="templates:include" data-template-path="templates/includes/iconography.html"/>
</div>
</div>
<!-- Nav tabs -->
Expand Down
9 changes: 1 addition & 8 deletions templates/work.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,7 @@ <h2 data-template="lang:translate">basic_data</h2>
<li><strong data-template="app:preview-relator-role"/>: <span data-template="app:preview-relator-name" data-template-popover="true"/></li>
</ol>
</div>
<div class="col-md col-sm-12 iconographie">
<div data-template="app-shared:if-exists" data-template-key="iconographyImages" data-template-wrap="no">
<h2 data-template="lang:translate">iconography</h2>
</div>
<div class="iconographythumbnail" data-template="app-shared:each" data-template-from="iconographyImages" data-template-to="iconographyImage" data-template-max="30">
<img data-template="img:iconographyImage" src="dummy.jpg"/>
</div>
</div>
<div data-template="templates:include" data-template-path="templates/includes/iconography.html"/>
</div>
</div>
<!-- Nav tabs -->
Expand Down

0 comments on commit 2e77aba

Please sign in to comment.