Merge lp:~rpadovani/ubuntu-it-ask/1169700 into lp:ubuntu-it-ask

Proposed by Riccardo Padovani
Status: Merged
Merged at revision: 68
Proposed branch: lp:~rpadovani/ubuntu-it-ask/1169700
Merge into: lp:ubuntu-it-ask
Diff against target: 49 lines (+24/-2)
2 files modified
forum/skins/light/media/style/style.css (+6/-2)
forum/skins/light/templates/node/accept_button.html (+18/-0)
To merge this branch: bzr merge lp:~rpadovani/ubuntu-it-ask/1169700
Reviewer Review Type Date Requested Status
Giuseppe Terrasi (community) Approve
Review via email: mp+159240@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Giuseppe Terrasi (giuseppeterrasi-deactivatedaccount) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'forum/skins/light/media/style/style.css'
2--- forum/skins/light/media/style/style.css 2013-03-26 17:45:38 +0000
3+++ forum/skins/light/media/style/style.css 2013-04-16 21:18:26 +0000
4@@ -1589,7 +1589,7 @@
5
6 #close-notify:hover {
7 text-decoration: none;
8- background-position: right 0;
9+ background-position: right center;
10 }
11
12 .big {
13@@ -1890,7 +1890,11 @@
14 a.comment-like {background-position: 0 -52px;}
15 a.comment-convert {background-position: 0 -69px;}
16 a.comment-convert-to-question {background-position: 0 -86px;}
17-a.comment-delete:hover, a.comment-edit:hover, a.comment-like:hover, a.comment-like.on, a.comment-convert:hover, a.comment-convert-to-question:hover {background-position: -19px 0;}
18+a.comment-delete:hover {background-position: -19px -18px;}
19+a.comment-edit:hover {background-position: -19px -36px;}
20+a.comment-like:hover, a.comment-like.on {background-position: -19px -52px;}
21+a.comment-convert:hover {background-position: -19px -69px;}
22+a.comment-convert-to-question:hover {background-position: -19px -86px;}
23
24 img.subscription-remove {
25 float:right;
26
27=== added directory 'forum/skins/light/templates/node'
28=== added file 'forum/skins/light/templates/node/accept_button.html'
29--- forum/skins/light/templates/node/accept_button.html 1970-01-01 00:00:00 +0000
30+++ forum/skins/light/templates/node/accept_button.html 2013-04-16 21:18:26 +0000
31@@ -0,0 +1,18 @@
32+{% load i18n %}
33+
34+{% if can_accept %}
35+ <a id="accept-answer-{{ answer.id }}" class="ajax-command accept-answer{% if answer.nis.accepted %} on{% endif %}"
36+ title="{% if answer.nis.accepted %}{% blocktrans with answer.nstate.accepted.by.username as who %}{{ who }} has selected this answer as the correct answer{% endblocktrans %}{% else %}{% trans "mark this answer as the accepted answer" %}{% endif %}"
37+ bn:on="{% blocktrans with answer.nstate.accepted.by.username as who %}{{ who }} has selected this answer as the correct answer{% endblocktrans %}"
38+ bn:off="{% trans "mark this answer as the accepted answer" %}"
39+ href="{% url accept_answer id=answer.id %}" rel="nofollow">
40+ </a>
41+{% else %}
42+ {% if answer.nis.accepted %}
43+ <a class="accept-answer on"
44+ title="{% blocktrans with answer.nstate.accepted.by.username as who %}{{ who }} has selected this answer as the correct answer{% endblocktrans %}"
45+ href="{% url accept_answer id=answer.id %}" rel="nofollow">
46+ </a>
47+ {% endif %}
48+{% endif %}
49+

Subscribers

People subscribed via source and target branches