Commit b2a89e04 authored by IKEDA Soji's avatar IKEDA Soji
Browse files

Suppress deprecated CSS class bg_color_error.

parent e69498a4
......@@ -96,7 +96,7 @@
</p>
[% IF current_subscriber.bounce %]
<h3 class="bg_color_error">[%|loc%]Bouncing address[%END%]</h3>
<h3 class="warning label">[%|loc%]Bouncing address[%END%]</h3>
[% IF current_subscriber.bounce_address %]
<label>[%|loc%]Address detected via VERP technology[%END%] </label>
......
......@@ -2,15 +2,15 @@
[% IF list_status == 'closed' || list_status == 'family_closed' %]
<li class="menuLinks">
<span class="bg_color_error">[%|loc%]Closed list[%END%]</span>
<span class="warning label">[%|loc%]Closed list[%END%]</span>
</li>
[% ELSIF list_status == 'pending' %]
<li class="menuLinks">
<span class="bg_color_error">[%|loc%]List not activated yet[%END%]</span>
<span class="warning label">[%|loc%]List not activated yet[%END%]</span>
</li>
[% ELSIF list_status == 'error_config' %]
<li class="menuLinks">
<span class="bg_color_error">[%|loc%]Erroneous configuration[%END%]</span>
<span class="warning label">[%|loc%]Erroneous configuration[%END%]</span>
</li>
[% END %]
......
......@@ -171,66 +171,62 @@
</th>
</tr>
[% FOREACH l = log_entries %]
[% IF dark == '1' %]
[% SET dark = 0 ~%]
[% FOREACH l = log_entries ~%]
[% IF l.status == 'error' ~%]
<tr class="alert callout">
[%~ ELSIF dark ~%]
<tr>
[% ELSE %]
[%~ ELSE ~%]
<tr class="color0">
[% END %]
[%~ END %]
[% IF l.status == 'error' %]
<tr class="bg_color_error">
[% END %]
<td>
[% l.date %]
</td>
<td>
[% l.date %]
</td>
[% IF is_listmaster || is_owner %]
<td>
[% l.list %]
</td>
[% END %]
<td>
[% l.action %]
</td>
<td>
[% l.parameters %]
</td>
<td>
[% l.target_email %]
</td>
<td>
[% IF l.msg_id %]
<a href="[% 'viewlogs' | url_rel([list,page,size,sortby],{type=>'all_actions',target_type=>'msg_id',target=>l.msg_id}) %]"
data-tooltip aria-haspopup="true"
title="[%|loc%]view other events related to this message id.[%END%]">
[%|loc%]Other events[%END%]
</a>
[% END %]
</td>
<td>
[% l.status %]
</td>
<td>
[% l.error_type %]
</td>
<td>
[% l.user_email %]</span>
</td>
<td>
[% l.action %]
</td>
<td>
[% l.parameters %]
</td>
<td>
[% l.target_email %]
</td>
<td>
[% IF l.msg_id %]
<a href="[% 'viewlogs' | url_rel([list,page,size,sortby],{type=>'all_actions',target_type=>'msg_id',target=>l.msg_id}) %]"
data-tooltip aria-haspopup="true"
title="[%|loc%]view other events related to this message id.[%END%]">
[%|loc%]Other events[%END%]
</a>
[% END %]
</td>
<td>
[% l.status %]
</td>
<td>
[% l.error_type %]
</td>
<td>
[% l.user_email %]</span>
</td>
[% IF is_listmaster || is_owner %]
<td>
[% l.client %]
</td>
[% END %]
<td>
[% l.daemon %]
</td>
</tr>
[% IF dark == '1' %]
[% SET dark = 0 %]
[% ELSE %]
[% SET dark = 1 %]
[% END %]
[% END %]
<td>
[% l.daemon %]
</td>
</tr>
[% SET dark = !dark ~%]
[%~ END %]
</table>
</div>
[% END %]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment