Skip to content

Commit

Permalink
added <p> to exif data
Browse files Browse the repository at this point in the history
  • Loading branch information
notandigg committed Apr 2, 2017
1 parent e8cb0ad commit 45c8a9b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions layout/sidebars/content-sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

<ul class="nav nav-tabs m-x-1 m-y-1" id="info" role="tablist">
<li class="nav-item">
<a class="nav-link active" data-toggle="tab" href="#tab1" role="tab" aria-controls="tab1">Info</a>
<a class="nav-link active" data-toggle="tab" href="#info-tab" role="tab" aria-controls="info">Info</a>
</li>
<koken:if true="settings.show_exif">
<li class="nav-item">
<a class="nav-link" data-toggle="tab" href="#tab2" role="tab" aria-controls="tab2">Exif</a>
<a class="nav-link" data-toggle="tab" href="#exif-tab" role="tab" aria-controls="exif">Exif</a>
</li>
</koken:if>
</ul>

<div class="tab-content">
<div class="tab-pane active" id="tab1" role="tabpanel">
<div class="tab-pane active" id="info-tab" role="tabpanel">

<!-- Context -->
<koken:if true="settings.show_context">
Expand Down Expand Up @@ -78,20 +78,20 @@ <h6 class="text-muted" style="margin-top:10px;">{{ labels.category.plural }}</h6

</div>
<koken:if true="settings.show_exif">
<div class="tab-pane" id="tab2" role="tabpanel">
<div class="tab-pane" id="exif-tab" role="tabpanel">

<koken:exif>
<koken:not empty="exif.model">
<strong>Camera:</strong> {{ exif.model }}
<p class="m-y-0"><strong>Camera:</strong> {{ exif.model }}</p>
</koken:not>
<koken:not empty="exif.exposure">
<strong>Exposure:</strong> {{ exif.exposure }}<br>
<p class="m-y-0"><strong>Exposure:</strong> {{ exif.exposure }}</p>
</koken:not>
<koken:not empty="exif.iso_speed_ratings">
<strong>ISO:</strong> {{ exif.iso_speed_ratings.raw }}<br>
<p class="m-y-0"><strong>ISO:</strong> {{ exif.iso_speed_ratings.raw }}</p>
</koken:not>
<koken:not empty="exif.aperture">
<strong>Aperture:</strong> <span class="fstop">f</span>/{{ exif.aperture.computed }}
<p class="m-y-0"><strong>Aperture:</strong> <span class="fstop">f</span>/{{ exif.aperture.computed }}</p>
</koken:not>
</koken:exif>

Expand Down

0 comments on commit 45c8a9b

Please sign in to comment.