Skip to content

Commit

Permalink
[#665] Convert the entry success page to foundation
Browse files Browse the repository at this point in the history
  • Loading branch information
afuna committed Sep 8, 2014
1 parent bb76eab commit b8e5805
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions views/entry/success.tt
Expand Up @@ -13,12 +13,7 @@ the same terms as Perl itself. For a copy of the license, please reference
-%]

[%- sections.title = 'success' | ml -%]

[%- IF warnings.exist -%]
[%- FOREACH warning IN warnings.get_all -%]
<div class="alert-box">[%- warning.message -%]</div>
[%- END -%]
[%- END -%]
[%- CALL dw.active_resource_group( "foundation" ) -%]

[%- IF moderated_message -%]
<div class="alert-box success">[%- moderated_message -%]</div>
Expand All @@ -28,16 +23,20 @@ the same terms as Perl itself. For a copy of the license, please reference
<p>[% poststatus.ml_string | ml( url => poststatus.url )%]</p>
[%- END -%]

[%- IF warnings.exist -%]
[%- FOREACH warning IN warnings.get_all -%]
<div class="alert-box">[%- warning.message -%]</div>
[%- END -%]
[%- END -%]

[%- IF crossposts.size > 0 -%]
<div class='message-box'>
<ul>
<ul class='no-bullet'>
[%- FOREACH crosspost IN crossposts -%]
<li [% IF crosspost.status == "error" -%] class="error-box" [%- END -%]>
<li class="alert-box [% IF crosspost.status == "error" %] alert [%- ELSE -%] success [%- END -%]">
[%- crosspost.text -%]
</li>
[%- END -%]
</ul>
</div>
[%- END -%]

[%- IF links.size > 0 -%]
Expand Down

0 comments on commit b8e5805

Please sign in to comment.