View | Details | Raw Unified | Return to bug 8836
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css (-1 / +2 lines)
Lines 280-286 tr.even td, tr.even.highlight td { Link Here
280
	font-weight : bold;
280
	font-weight : bold;
281
}
281
}
282
282
283
tr.warn td {
283
tr.warn td,
284
tr.warn:nth-child(odd) td {
284
	background-color: #FF9090;
285
	background-color: #FF9090;
285
}
286
}
286
287
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt (-2 / +14 lines)
Lines 2-7 Link Here
2
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Tools &rsaquo; Rotating collections</title>
3
<title>Koha &rsaquo; Tools &rsaquo; Rotating collections</title>
4
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
5
<script type="text/javascript">
6
    $(document).ready(function(){
7
        $(".confirmdelete").click(function(){
8
            $(this).parents('tr').addClass("warn");
9
            if(confirm(_("Are you sure you want to delete this collection?"))){
10
                return true;
11
            } else {
12
                $(this).parents('tr').removeClass("warn");
13
                return false;
14
            }
15
        });
16
    });
17
</script>
5
</head>
18
</head>
6
<body id="rcoll_rotatingCollections" class="tools rcoll">
19
<body id="rcoll_rotatingCollections" class="tools rcoll">
7
[% INCLUDE 'header.inc' %]
20
[% INCLUDE 'header.inc' %]
Lines 38-44 Link Here
38
                                    <td><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collectionsLoo.colId %]">Add or remove items</a></td>
51
                                    <td><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collectionsLoo.colId %]">Add or remove items</a></td>
39
                                    <td><a href="/cgi-bin/koha/rotating_collections/transferCollection.pl?colId=[% collectionsLoo.colId %]">Transfer</a></td>
52
                                    <td><a href="/cgi-bin/koha/rotating_collections/transferCollection.pl?colId=[% collectionsLoo.colId %]">Transfer</a></td>
40
                                    <td><a href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=edit&amp;colId=[% collectionsLoo.colId %]">Edit</a></td>
53
                                    <td><a href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=edit&amp;colId=[% collectionsLoo.colId %]">Edit</a></td>
41
                                    <td><a href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=delete&amp;colId=[% collectionsLoo.colId %]">Delete</a></td>
54
                                    <td><a class="confirmdelete" href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=delete&amp;colId=[% collectionsLoo.colId %]">Delete</a></td>
42
                                </tr>
55
                                </tr>
43
                            [% END %]
56
                            [% END %]
44
                        </table>
57
                        </table>
45
- 

Return to bug 8836