Skip to content

Commit

Permalink
fix slideshow nav button text
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Bayfield committed Jul 19, 2015
1 parent 84db03e commit a8c61d1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
6 changes: 6 additions & 0 deletions js/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ $(document).ready(function() {

// Grid view button click
$('#btn-grid').click(function() {
if ($(this).hasClass('active')) {
return;
}
$.cookie('view', 'grid');
$('#btn-grid').addClass('active');
$('#btn-list').removeClass('active');
Expand All @@ -26,6 +29,9 @@ $(document).ready(function() {

// List view button click
$('#btn-list').click(function() {
if ($(this).hasClass('active')) {
return;
}
$.cookie('view', 'list');
$('#btn-list').addClass('active');
$('#btn-grid').removeClass('active');
Expand Down
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ mkdir -p $1/bootstrapdefault/bootstrap/dist
mkdir -p $1/bootstrapdefault/selectize.js/dist
cp -rv bootstrap/dist/* $1/bootstrapdefault/bootstrap/dist
cp -rv selectize.js/dist/* $1/bootstrapdefault/selectize.js/dist
cp -rv admin fixplugins.css img include index.php js less local_head.tpl screenshot.png template theme.css themeconf.inc.php $1/bootstrapdefault/
cp -rv admin fixplugins.css img include index.php js language less local_head.tpl screenshot.png template theme.css themeconf.inc.php $1/bootstrapdefault/
cd $1
zip -r ../bootstrapdefault-$1.zip bootstrapdefault
cd ..
Expand Down
12 changes: 6 additions & 6 deletions template/picture_nav_buttons.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,18 @@
</a>
{/if}{/strip}
{if isset($slideshow.U_START_PLAY)}
<a href="{$slideshow.U_START_PLAY}" title="{'Play slideshow'|@translate}">
<span class="glyphicon glyphicon-play"></span><span class="glyphicon-text">{'Play slideshow'|@translate}</span>
<a href="{$slideshow.U_START_PLAY}" title="{'Play of slideshow'|@translate}">
<span class="glyphicon glyphicon-play"></span><span class="glyphicon-text">{'Play of slideshow'|@translate}</span>
</a>
{/if}
{if isset($slideshow.U_STOP_PLAY)}
<a href="{$slideshow.U_STOP_PLAY}" title="{'Pause slideshow'|@translate}">
<span class="glyphicon glyphicon-pause"></span><span class="glyphicon-text">{'Pause slideshow'|@translate}</span>
<a href="{$slideshow.U_STOP_PLAY}" title="{'Pause of slideshow'|@translate}">
<span class="glyphicon glyphicon-pause"></span><span class="glyphicon-text">{'Pause of slideshow'|@translate}</span>
</a>
{/if}
{if isset($U_SLIDESHOW_STOP) }
<a href="{$U_SLIDESHOW_STOP}" title="{'Stop slideshow'|@translate}">
<span class="glyphicon glyphicon-stop"></span><span class="glyphicon-text">{'Stop slideshow'|@translate}</span>
<a href="{$U_SLIDESHOW_STOP}" title="{'stop the slideshow'|@translate}">
<span class="glyphicon glyphicon-stop"></span><span class="glyphicon-text">{'stop the slideshow'|@translate}</span>
</a>
{/if}
{strip}{if isset($next)}
Expand Down

0 comments on commit a8c61d1

Please sign in to comment.