Changeset 23642 for trunk/themes


Ignore:
Timestamp:
Jun 28, 2013, 9:39:31 PM (11 years ago)
Author:
flop25
Message:

bug:2918
Display a link for the fist and last page on picture.tpl, to go to the album
3 lang keys added

Location:
trunk/themes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/template/picture.tpl

    r23490 r23642  
    133133                                <img src="{$previous.derivatives.square->get_url()}" alt="{$previous.TITLE|@escape}">
    134134                        </a>
     135                {elseif isset($U_UP)}
     136                        <a class="navThumb" id="linkFirst" href="{$U_UP}" title="{'Thumbnails'|@translate}" rel="prev">
     137                                <div class="thumbHover">{'First Page'|@translate}<br><br>{'Go back to the album'|@translate}</div>
     138                        </a>
    135139                {/if}
    136140                {if isset($next)}
     
    138142                                <span class="thumbHover nextThumbHover"></span>
    139143                                <img src="{$next.derivatives.square->get_url()}" alt="{$next.TITLE|@escape}">
     144                        </a>
     145                {elseif isset($U_UP)}
     146                        <a class="navThumb" id="linkLast"  href="{$U_UP}"  title="{'Thumbnails'|@translate}" rel="next">
     147                                <div class="thumbHover">{'Last Page'|@translate}<br><br>{'Go back to the album'|@translate}</div>
    140148                        </a>
    141149                {/if}
  • trunk/themes/default/theme.css

    r20982 r23642  
    392392}
    393393
    394 #linkPrev {
     394#linkPrev, #linkFirst {
    395395        float: left;
    396396        margin: 5px 10px 0 5px;
    397397}
    398398
    399 #linkNext {
     399#linkNext, #linkLast {
    400400        float: right;
    401401        margin: 5px 5px 0 10px;
     402  text-align: right;
     403}
     404
     405#linkFirst, #linkLast {
     406  border: 1px solid #ccc;
     407  height: 118px;
     408  line-height: 118px;
     409}
     410
     411#linkFirst div, #linkLast div {
     412  display: inline-block;
     413  vertical-align: middle;
     414  width: 108px;
     415  line-height: 1.2;
     416  margin: 0 5px;
    402417}
    403418
  • trunk/themes/elegant/theme.css

    r23233 r23642  
    221221
    222222#imageInfos .navThumbs                          { width: 250px; height: 130px; margin: auto; padding: 0 5px;}
    223 #imageInfos .navThumb                           { position: relative; width: 120px; height: 120px; margin: 0; overflow: hidden;}
     223#imageInfos .navThumb                           { position: relative; margin: 0; overflow: hidden;}
    224224#imageInfos #linkPrev                           { float: left;}
    225 #imageInfos #linkNext                           { float: right;}
    226 #imageInfos .thumbHover                                 { position: absolute; width: 100%; height: 100%;}
     225#imageInfos #linkNext                           { float: right;}
     226#imageInfos #linkFirst, #imageInfos #linkLast { border-color: #444444;}
    227227#imageInfos .prevThumbHover                     { background: transparent url(icon/none.png) no-repeat center center;}
    228228#imageInfos .prevThumbHover:hover       { background: transparent url(icon/img_prev.png) no-repeat center center;}
Note: See TracChangeset for help on using the changeset viewer.