vishwamano

source of vishwamano.com
git clone git://git.ricketyspace.net/vishwamano.git
Log | Files | Refs

commit 6da4fcdef0354adfd6121e7940d06d522048459d
parent 39c1d470e437e0fcd2d36299ce9968f2dff157d7
Author: rsiddharth <s@ricketyspace.net>
Date:   Sun, 21 Oct 2018 20:15:58 -0400

themes/bs3: Update gallery-genre.tpl.

Add optional sub section navigation.

* themes/bs3/templates/gallery-genre.tpl: Update file.

Diffstat:
themes/bs3/templates/gallery-genre.tpl | 18++++++++++++++++++
1 file changed, 18 insertions(+), 0 deletions(-)

diff --git a/themes/bs3/templates/gallery-genre.tpl b/themes/bs3/templates/gallery-genre.tpl @@ -2,6 +2,24 @@ <div class="container-fluid"> <!-- top container start --> + {if isset($sub_nav) && count($sub_nav) > 0 } + <!-- sub section nav. start --> + <div class="row"> + <div class="col-sm-offset-5 col-sm-6"> + <ul class="breadcrumb"> + {foreach $sub_nav as $ni } + {if !$ni['active'] } + <li><a href="{$ni['href']}">{$ni['desc']}</a></li> + {else} + <li><a class="active" href="{$ni['href']}">{$ni['desc']}</a></li> + {/if} + {/foreach} + </ul> + </div> + </div> + <!-- sub section nav. end --> + {/if} + <div class="row"> <!-- loading img start --> <div class="col-sm-12"> <img id="vm-loading-img" class="img-responsive loading-vm" src="/themes/bs3/img/loading-vm.gif"