Skip to content

Commit

Permalink
front: use correct icons on message-boxes alerts (#4034)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandhose authored and pierre-24 committed Dec 8, 2016
1 parent fec1c84 commit 68e5075
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/scss/base/_icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
@include sprite();
}

&.alert {
&.alert, &.ico-alert {
&:after {
@include sprite-position($alert);
}
Expand Down
4 changes: 2 additions & 2 deletions templates/misc/message_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h4 class="alert-box-title">Pas encore inscrit ?</h4>
</p>
</div>
{% elif topic.antispam or isantispam %}
<div class="alert-box ico-after light">
<div class="alert-box ico-after ico-alert light">
{% trans "Vous venez de poster. Merci de patienter au moins 15 minutes entre deux messages consécutifs afin de limiter le flood" %}.
</div>
{% elif topic.alone %}
Expand All @@ -38,7 +38,7 @@ <h4 class="alert-box-title">Pas encore inscrit ?</h4>
{% endif %}

{% if page_obj.has_next %}
<div class="alert-box warning ico-after alert">
<div class="alert-box warning ico-after alert light">
{% trans "<strong>Attention</strong>, vous n'êtes pas sur la dernière page de ce sujet, assurez-vous de l'avoir lu dans son intégralité avant d'y répondre." %}
</div>
{% endif %}
Expand Down

0 comments on commit 68e5075

Please sign in to comment.