From 3c3dcee4efc459394ecbb8bfd0cc7a539af813fd Mon Sep 17 00:00:00 2001 From: Tobias Markus Date: Tue, 24 Sep 2013 15:23:03 +0200 Subject: [PATCH] [bug 912563] Make canned responses more discoverable --- kitsune/sumo/static/css/cannedresponses.css | 4 +++- kitsune/sumo/static/js/markup.js | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/kitsune/sumo/static/css/cannedresponses.css b/kitsune/sumo/static/css/cannedresponses.css index fa1acfb0f3f..926858cd3bc 100644 --- a/kitsune/sumo/static/css/cannedresponses.css +++ b/kitsune/sumo/static/css/cannedresponses.css @@ -1,5 +1,7 @@ -.markup-toolbar-button.btn-cannedresponses { +.markup-toolbar-link.btn-cannedresponses { background-image: url(../img/icon.magic-hat.png); + background-repeat: no-repeat; + padding: 6px 40px 6px !important; } #responses-area, diff --git a/kitsune/sumo/static/js/markup.js b/kitsune/sumo/static/js/markup.js index 93bd2747f35..e08b86bee8f 100644 --- a/kitsune/sumo/static/js/markup.js +++ b/kitsune/sumo/static/js/markup.js @@ -788,14 +788,14 @@ Marky.MediaButton.prototype = $.extend({}, Marky.SimpleButton.prototype, { * The canned responses helper */ Marky.CannedResponsesButton = function() { - this.name = gettext('Insert a canned response...'); + this.name = gettext('Common responses'); this.classes = 'btn-cannedresponses'; this.openTag = ''; this.closeTag = ''; this.defaultText = gettext('cannedresponses'); this.everyline = false; - this.html = '