Lines 28-34
Link Here
|
28 |
</li> |
28 |
</li> |
29 |
<li> |
29 |
<li> |
30 |
<a href="#" aria-current="page"> |
30 |
<a href="#" aria-current="page"> |
31 |
Add or remove items |
31 |
Manage items |
32 |
</a> |
32 |
</a> |
33 |
</li> |
33 |
</li> |
34 |
</ol> |
34 |
</ol> |
Lines 39-46
Link Here
|
39 |
<div class="row"> |
39 |
<div class="row"> |
40 |
<div class="col-sm-10 col-sm-push-2"> |
40 |
<div class="col-sm-10 col-sm-push-2"> |
41 |
<main> |
41 |
<main> |
42 |
<h1>Add/remove items from collection</h1> |
|
|
43 |
|
44 |
[% IF ( ! colId ) %] |
42 |
[% IF ( ! colId ) %] |
45 |
<div class="dialog message"> |
43 |
<div class="dialog message"> |
46 |
<p>Invalid collection id</p> |
44 |
<p>Invalid collection id</p> |
Lines 48-54
Link Here
|
48 |
</div> |
46 |
</div> |
49 |
[% ELSE %] |
47 |
[% ELSE %] |
50 |
[% INCLUDE 'rotating-collections-toolbar.inc' %] |
48 |
[% INCLUDE 'rotating-collections-toolbar.inc' %] |
51 |
<h2>Collection <em>[% colTitle | html %]</em></h2> |
49 |
<h1>Manage items for <em>[% colTitle | html %]</em></h1> |
52 |
|
50 |
|
53 |
[% IF ( previousActionAdd ) %] |
51 |
[% IF ( previousActionAdd ) %] |
54 |
[% IF ( addSuccess ) %] |
52 |
[% IF ( addSuccess ) %] |
Lines 115-124
Link Here
|
115 |
</form> |
113 |
</form> |
116 |
</div> |
114 |
</div> |
117 |
|
115 |
|
118 |
<div> |
116 |
<div class="page-section"> |
119 |
<h2>Items in <em>[% colTitle | html %]</em></h2> |
|
|
120 |
[% IF ( collectionItemsLoop ) %] |
117 |
[% IF ( collectionItemsLoop ) %] |
121 |
<h3>Total items: [% collectionItemsLoop.size | html%]</h3> |
118 |
<h2>Total items: [% collectionItemsLoop.size | html%]</h2> |
122 |
<table> |
119 |
<table> |
123 |
<tr> |
120 |
<tr> |
124 |
<th>Title</th> |
121 |
<th>Title</th> |