From: claycarpenter Date: Fri, 4 Feb 2011 18:37:34 +0000 (+0000) Subject: Merge of branches/jambazov to trunk. Incoporating the new convert comment to answer... X-Git-Tag: live~450 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/881f902757e0d053b0dc9016055630b28c79c3b5 Merge of branches/jambazov to trunk. Incoporating the new convert comment to answer icon. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@744 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum/skins/default/media/images/convert-hover.png b/forum/skins/default/media/images/convert-hover.png new file mode 100644 index 0000000..9e973ef Binary files /dev/null and b/forum/skins/default/media/images/convert-hover.png differ diff --git a/forum/skins/default/media/images/convert-off.png b/forum/skins/default/media/images/convert-off.png new file mode 100644 index 0000000..a10dddd Binary files /dev/null and b/forum/skins/default/media/images/convert-off.png differ diff --git a/forum/skins/default/media/style/style.css b/forum/skins/default/media/style/style.css index 15155f4..e0b8052 100644 --- a/forum/skins/default/media/style/style.css +++ b/forum/skins/default/media/style/style.css @@ -1496,7 +1496,7 @@ a.accept-answer.on, a.accept-answer:hover { margin-left: 4px; } -a.comment-like, a.comment-delete, a.comment-edit { +a.comment-like, a.comment-delete, a.comment-edit, a.comment-convert { margin-left: 2px; width: 18px; } @@ -1517,6 +1517,14 @@ a.comment-delete:hover { background: url("../images/comment-delete-hover.png") no-repeat scroll center center transparent; } +a.comment-convert { + background: url("../images/convert-off.png") no-repeat scroll center center transparent; +} + +a.comment-convert:hover { + background: url("../images/convert-hover.png") no-repeat scroll center center transparent; +} + a.comment-edit { background: url("../images/comment-edit.png") no-repeat scroll center center transparent; } diff --git a/forum/skins/default/templates/node/comments.html b/forum/skins/default/templates/node/comments.html index 5fea00c..49d529a 100644 --- a/forum/skins/default/templates/node/comments.html +++ b/forum/skins/default/templates/node/comments.html @@ -23,7 +23,7 @@ {% endif %} {% if comment.can_convert %} {% trans "Convert comment to answer" %} + class="ajax-command comment-convert confirm" rel="nofollow"> {% endif %} @@ -70,7 +70,7 @@ {% trans "Convert comment to answer" %} + class="ajax-command comment-convert confirm" rel="nofollow"> ({% trans "just now" %}) %USERNAME%