Lines 66-73
Link Here
|
66 |
<button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"> Report mistake <span class="caret"></span></button> |
66 |
<button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"> Report mistake <span class="caret"></span></button> |
67 |
<ul class="dropdown-menu"> |
67 |
<ul class="dropdown-menu"> |
68 |
[% FOREACH c IN mana_comments %] |
68 |
[% FOREACH c IN mana_comments %] |
69 |
<li class="mana-comment" data-id="[% c.id %]"> |
69 |
<li class="mana-comment" data-id="[% c.id | $raw %]"> |
70 |
<a href="#">[% c.message %] ([% c.nb %])</a> |
70 |
<a href="#">[% c.message | html %] ([% c.nb | html %])</a> |
71 |
</li> |
71 |
</li> |
72 |
[% END %] |
72 |
[% END %] |
73 |
<li role="separator" class="divider"></li> |
73 |
<li role="separator" class="divider"></li> |
Lines 84-90
Link Here
|
84 |
</div> |
84 |
</div> |
85 |
<div class="modal-body"> |
85 |
<div class="modal-body"> |
86 |
<input hidden id="mana-resource" value="subscription"> |
86 |
<input hidden id="mana-resource" value="subscription"> |
87 |
<input hidden id="mana-resource-id" value="[% mana_id %]"> |
87 |
<input hidden id="mana-resource-id" value="[% mana_id | $raw %]"> |
88 |
<div> |
88 |
<div> |
89 |
<input type="text" maxlength="35" size="35" id="mana-comment"> |
89 |
<input type="text" maxlength="35" size="35" id="mana-comment"> |
90 |
</div> |
90 |
</div> |
Lines 109-120
Link Here
|
109 |
<div class="modal-dialog"> |
109 |
<div class="modal-dialog"> |
110 |
<div class="modal-content"> |
110 |
<div class="modal-content"> |
111 |
<div class="modal-header"> |
111 |
<div class="modal-header"> |
112 |
<h3 id="mana_share_modal_label">Share [% bibliotitle %] to Mana</h3> |
112 |
<h3 id="mana_share_modal_label">Share [% bibliotitle | html %] to Mana</h3> |
113 |
</div> |
113 |
</div> |
114 |
<div class="modal-body"> |
114 |
<div class="modal-body"> |
115 |
[% IF (mana_id) %] |
115 |
[% IF (mana_id) %] |
116 |
<div class="alert"> |
116 |
<div class="alert"> |
117 |
<h1>[% (mana_id) %]</h1> |
117 |
<h1>[% mana_id | $raw %]</h1> |
118 |
<p>Your subscription is already linked with a Mana subscription model. Share it if you have made modifications, otherwise it will do nothing.</p> |
118 |
<p>Your subscription is already linked with a Mana subscription model. Share it if you have made modifications, otherwise it will do nothing.</p> |
119 |
</div> |
119 |
</div> |
120 |
[% END %] |
120 |
[% END %] |
Lines 122-131
Link Here
|
122 |
[% UNLESS ( one_language_enabled ) %] |
122 |
[% UNLESS ( one_language_enabled ) %] |
123 |
<div class="rows"> |
123 |
<div class="rows"> |
124 |
<li><span class="label">Frequency: </span> |
124 |
<li><span class="label">Frequency: </span> |
125 |
[% frequency.description %] |
125 |
[% frequency.description | html %] |
126 |
</li> |
126 |
</li> |
127 |
<li><span class="label">Number pattern: </span> |
127 |
<li><span class="label">Number pattern: </span> |
128 |
[% numberpattern.label %] |
128 |
[% numberpattern.label | html %] |
129 |
</li> |
129 |
</li> |
130 |
</ol> |
130 |
</ol> |
131 |
</div> |
131 |
</div> |
Lines 140-159
Link Here
|
140 |
[% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %] |
140 |
[% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %] |
141 |
[% IF ( sublanguages_loo.enabled ) %] |
141 |
[% IF ( sublanguages_loo.enabled ) %] |
142 |
[% IF ( sublanguages_loo.sublanguage_current ) %] |
142 |
[% IF ( sublanguages_loo.sublanguage_current ) %] |
143 |
<option value="[% languages_loo.rfc4646_subtag %]" selected> |
143 |
<option value="[% languages_loo.rfc4646_subtag | html %]" selected> |
144 |
[% sublanguages_loo.native_description %] |
144 |
[% sublanguages_loo.native_description | html %] |
145 |
[% sublanguages_loo.script_description %] |
145 |
[% sublanguages_loo.script_description | html %] |
146 |
[% sublanguages_loo.region_description %] |
146 |
[% sublanguages_loo.region_description | html %] |
147 |
[% sublanguages_loo.variant_description %] |
147 |
[% sublanguages_loo.variant_description | html %] |
148 |
([% sublanguages_loo.rfc4646_subtag %]) |
148 |
([% sublanguages_loo.rfc4646_subtag | html %]) |
149 |
</option> |
149 |
</option> |
150 |
[% ELSE %] |
150 |
[% ELSE %] |
151 |
<option value="[% languages_loo.rfc4646_subtag %]"> |
151 |
<option value="[% languages_loo.rfc4646_subtag | html %]"> |
152 |
[% sublanguages_loo.native_description %] |
152 |
[% sublanguages_loo.native_description | html %] |
153 |
[% sublanguages_loo.script_description %] |
153 |
[% sublanguages_loo.script_description | html %] |
154 |
[% sublanguages_loo.region_description %] |
154 |
[% sublanguages_loo.region_description | html %] |
155 |
[% sublanguages_loo.variant_description %] |
155 |
[% sublanguages_loo.variant_description | html %] |
156 |
([% sublanguages_loo.rfc4646_subtag %]) |
156 |
([% sublanguages_loo.rfc4646_subtag | html %]) |
157 |
</option> |
157 |
</option> |
158 |
[% END %] |
158 |
[% END %] |
159 |
[% END %] |
159 |
[% END %] |
Lines 161-179
Link Here
|
161 |
[% ELSE %] |
161 |
[% ELSE %] |
162 |
[% IF ( languages_loo.group_enabled ) %] |
162 |
[% IF ( languages_loo.group_enabled ) %] |
163 |
[% IF ( languages_loo.current ) %] |
163 |
[% IF ( languages_loo.current ) %] |
164 |
<option value="[% languages_loo.rfc4646_subtag %]" selected> |
164 |
<option value="[% languages_loo.rfc4646_subtag | html %]" selected> |
165 |
[% IF ( languages_loo.native_description ) %] |
165 |
[% IF ( languages_loo.native_description ) %] |
166 |
[% languages_loo.native_description %] |
166 |
[% languages_loo.native_description | html %] |
167 |
[% ELSE %] |
167 |
[% ELSE %] |
168 |
[% languages_loo.rfc4646_subtag %] |
168 |
[% languages_loo.rfc4646_subtag | html %] |
169 |
[% END %] |
169 |
[% END %] |
170 |
</option> |
170 |
</option> |
171 |
[% ELSE %] |
171 |
[% ELSE %] |
172 |
<option value="[% languages_loo.rfc4646_subtag %]"> |
172 |
<option value="[% languages_loo.rfc4646_subtag | html %]"> |
173 |
[% IF ( languages_loo.native_description ) %] |
173 |
[% IF ( languages_loo.native_description ) %] |
174 |
[% languages_loo.native_description %] |
174 |
[% languages_loo.native_description | html %] |
175 |
[% ELSE %] |
175 |
[% ELSE %] |
176 |
[% languages_loo.rfc4646_subtag %] |
176 |
[% languages_loo.rfc4646_subtag | html %] |
177 |
[% END %] |
177 |
[% END %] |
178 |
</option> |
178 |
</option> |
179 |
[% END %] |
179 |
[% END %] |
Lines 183-189
Link Here
|
183 |
[% END %] |
183 |
[% END %] |
184 |
</select> |
184 |
</select> |
185 |
<input type="hidden" id="op" name="op" value="share"/> |
185 |
<input type="hidden" id="op" name="op" value="share"/> |
186 |
<input type="hidden" id="subscriptionid" name="subscriptionid" value="[% subscriptionid %]"/> |
186 |
<input type="hidden" id="subscriptionid" name="subscriptionid" value="[% subscriptionid | $raw %]"/> |
187 |
</fieldset> |
187 |
</fieldset> |
188 |
</form> |
188 |
</form> |
189 |
</div> |
189 |
</div> |