diff --git a/app/assets/javascripts/admin/templates/dashboard.js.handlebars b/app/assets/javascripts/admin/templates/dashboard.js.handlebars
index e955c16c9..a3c5c2bd0 100644
--- a/app/assets/javascripts/admin/templates/dashboard.js.handlebars
+++ b/app/assets/javascripts/admin/templates/dashboard.js.handlebars
@@ -214,7 +214,13 @@
{{#each data in top_referred_topics.data}}
- {{shorten data.topic_title}} |
+
+
+ |
{{data.num_clicks}} |
diff --git a/app/assets/javascripts/discourse/controllers/composer_controller.js b/app/assets/javascripts/discourse/controllers/composer_controller.js
index 7544b5c76..b1799fd4e 100644
--- a/app/assets/javascripts/discourse/controllers/composer_controller.js
+++ b/app/assets/javascripts/discourse/controllers/composer_controller.js
@@ -62,7 +62,7 @@ Discourse.ComposerController = Discourse.Controller.extend({
if(topic) {
buttons.push({
- "label": I18n.t("composer.reply_here") + "
" + topic.get('title') + "
",
+ "label": I18n.t("composer.reply_here") + "
" + topic.get('title') + "
",
"class": "btn btn-reply-here",
"callback": function(){
composer.set('topic', topic);
@@ -73,7 +73,7 @@ Discourse.ComposerController = Discourse.Controller.extend({
}
buttons.push({
- "label": I18n.t("composer.reply_original") + "
" + this.get('model.topic.title') + "
",
+ "label": I18n.t("composer.reply_original") + "
" + this.get('model.topic.title') + "
",
"class": "btn-primary btn-reply-on-original",
"callback": function(){
composerController.save(true);
diff --git a/app/assets/stylesheets/admin/admin_base.scss b/app/assets/stylesheets/admin/admin_base.scss
index 78ba9867a..c3580bc06 100644
--- a/app/assets/stylesheets/admin/admin_base.scss
+++ b/app/assets/stylesheets/admin/admin_base.scss
@@ -489,6 +489,12 @@ table {
width: 45px;
}
}
+
+ .referred-topic-title {
+ width: 410px;
+ @include medium-width { width: 360px; }
+ @include small-width { width: 320px; }
+ }
}
diff --git a/app/assets/stylesheets/application/modal.css.scss b/app/assets/stylesheets/application/modal.css.scss
index 62ac58ade..17028569e 100644
--- a/app/assets/stylesheets/application/modal.css.scss
+++ b/app/assets/stylesheets/application/modal.css.scss
@@ -279,9 +279,6 @@
.topic-title {
font-size: 13px;
font-weight: normal;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
}
&.btn-reply-here {
@include linear-gradient(#ddd, #ddd);
diff --git a/app/assets/stylesheets/foundation/helpers.css.scss b/app/assets/stylesheets/foundation/helpers.css.scss
index 860299143..f4e1d7629 100644
--- a/app/assets/stylesheets/foundation/helpers.css.scss
+++ b/app/assets/stylesheets/foundation/helpers.css.scss
@@ -49,3 +49,12 @@
clear: both;
}
}
+
+// Overflow
+// --------------------------------------------------
+
+.overflow-ellipsis {
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}