Skip to content

Commit

Permalink
[-dev] Ephemeral notices are not always shown at forefront: They are …
Browse files Browse the repository at this point in the history
…hidden by tiles on home page. Fixed by moving inclusion of notice.tt2 after ${action}.tt2.

git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@12460 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
  • Loading branch information
sikeda committed Oct 22, 2015
1 parent 1920be5 commit f81dc7e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions default/web_tt2/main.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
<noscript><em>[%|loc%]Please activate JavaScript in your web browser[%END%]</em></noscript>

[% IF nomenu %]
[% PROCESS error.tt2 IF errors %]
<div class="nomenu">
[% PROCESS notice.tt2 IF notices %]
[% PROCESS "${action}.tt2" IF action %]
</div>
[% PROCESS error.tt2 IF errors %]
<div class="nomenu">
[% PROCESS "${action}.tt2" IF action %]
[% PROCESS notice.tt2 IF notices %]
</div>
[% ELSE %]

[% PROCESS error.tt2 IF errors %]
Expand Down Expand Up @@ -77,16 +77,16 @@
[% IF list_title %]<p><b>[%|loc%]Subject:[%END%]</b> [% list_title %] [% IF is_owner %]<a href="[% path_cgi %]/edit_list_request/[% list %]/description"><i class="fa fa-pencil-square" title="[%|loc%](Edit)[%END%]"></i></a>[% END %]</p>[% END %]
[% END %]

[% PROCESS nav.tt2 %]
[% PROCESS nav.tt2 %]

[% PROCESS notice.tt2 IF notices %]
[% IF action == 'edit_list_request' %][% END %]
[% PROCESS "${action}.tt2" IF action %]
[% IF action == 'edit_list_request' %][% END %]
[% PROCESS "${action}.tt2" IF action %]
[% PROCESS notice.tt2 IF notices %]

[% PROCESS dumpvars.tt2 IF dumpvars == 'true'%]
[% PROCESS dumpvars.tt2 IF dumpvars == 'true'%]

[% IF top_menu %][% IF not list %][% END %][% END %]
</main><!-- End content-inner -->
[% IF top_menu %][% IF not list %][% END %][% END %]
</main><!-- End content-inner -->

<div class="displayNone"><a href="#top">[%|loc%]Top of Page[%END%]</a></div>

Expand Down

0 comments on commit f81dc7e

Please sign in to comment.