Corrections and tweaks to recent lists fixes.
Corrected an instance where <!-- TMPL_IF --> was embedded inside an HTML tag (conflicts with translation script). Modified styling of confirm button to match existing interface convention. Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
8350c0ba77
commit
41db97255c
3 changed files with 7 additions and 9 deletions
|
@ -1045,10 +1045,14 @@ div.first fieldset {
|
|||
padding : .4em .4em .4em 25px;
|
||||
}
|
||||
|
||||
.dialog input.approve {
|
||||
.dialog input.approve, td input.approve {
|
||||
background : #FFF url(../../img/approve.gif) no-repeat 4px center;
|
||||
padding : .4em .4em .4em 25px;
|
||||
}
|
||||
|
||||
td input.approve {
|
||||
background-color : #FFC;
|
||||
}
|
||||
|
||||
.dialog input.deny {
|
||||
background : #FFF url(../../img/deny.gif) no-repeat 4px center;
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<li><a id="newshelf" href="/cgi-bin/koha/virtualshelves/shelves.pl?shelves=1">New List</a></li>
|
||||
<!-- TMPL_IF NAME="viewshelf" --><!-- TMPL_IF name="manageshelf" -->
|
||||
<li><a id="editshelf" href="/cgi-bin/koha/virtualshelves/shelves.pl?shelfnumber=<!-- TMPL_VAR NAME="shelfnumber" -->&op=modif">Edit List</a></li>
|
||||
<li id="deleteshelfc"><a id="deleteshelf" href="/cgi-bin/koha/virtualshelves/shelves.pl?<!-- TMPL_IF NAME="showprivateshelves" -->display=privateshelves&<!-- /TMPL_IF -->shelves=1&DEL-<!-- TMPL_VAR NAME="shelfnumber" -->=1">Delete List</a></li>
|
||||
<li id="deleteshelfc"><!-- TMPL_IF NAME="showprivateshelves" --><a id="deleteshelf" href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves&shelves=1&DEL-<!-- TMPL_VAR NAME="shelfnumber" -->=1">Delete List</a><!-- TMPL_ELSE --><a id="deleteshelf" href="/cgi-bin/koha/virtualshelves/shelves.pl?shelves=1&DEL-<!-- TMPL_VAR NAME="shelfnumber" -->=1">Delete List</a><!-- /TMPL_IF --></li>
|
||||
<!-- /TMPL_IF --><!-- /TMPL_IF -->
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -57,12 +57,6 @@ $(document).ready(function(){
|
|||
}
|
||||
//]]>
|
||||
</script>
|
||||
<style type="text/css">
|
||||
input.confirm {
|
||||
background:lightblue repeat-x scroll left top;
|
||||
border-width:2pt;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!-- TMPL_INCLUDE NAME="header.inc" -->
|
||||
|
@ -319,7 +313,7 @@ $(document).ready(function(){
|
|||
<input type="hidden" name="DEL-<!-- TMPL_VAR NAME="shelf" -->" value="1" />
|
||||
<!-- TMPL_IF NAME="confirm" -->
|
||||
<input type="hidden" name="CONFIRM-<!-- TMPL_VAR NAME="confirm" -->" value="1" />
|
||||
<input type="submit" class="confirm" value="Confirm" />
|
||||
<input type="submit" class="approve" value="Confirm" />
|
||||
<!-- TMPL_ELSE -->
|
||||
<input type="submit" class="deleteshelf" onclick="return confirmDelete(_('Are you sure you want to remove this List?'));" value="Delete" />
|
||||
<!-- /TMPL_IF -->
|
||||
|
|
Loading…
Reference in a new issue