diff --git a/app/assets/javascripts/discourse/templates/post.js.handlebars b/app/assets/javascripts/discourse/templates/post.js.handlebars index ed5a469ff05..432dc86c01c 100644 --- a/app/assets/javascripts/discourse/templates/post.js.handlebars +++ b/app/assets/javascripts/discourse/templates/post.js.handlebars @@ -11,9 +11,9 @@ {{#if loadingReplyHistory}} {{i18n loading}} {{else}} -   + {{avatar reply_to_user imageSize="tiny"}} - {{reply_to_user.username}} + {{reply_to_user.username}} {{/if}} {{/if}} diff --git a/app/assets/javascripts/discourse/views/post_view.js b/app/assets/javascripts/discourse/views/post_view.js index 87038a02ac3..a6b170ab0a4 100644 --- a/app/assets/javascripts/discourse/views/post_view.js +++ b/app/assets/javascripts/discourse/views/post_view.js @@ -185,6 +185,11 @@ Discourse.PostView = Discourse.GroupedView.extend(Ember.Evented, { topicController = this.get('controller'), origScrollTop = $(window).scrollTop(); + if (Discourse.Mobile.mobileView) { + Discourse.URL.routeTo(this.get('post.topic').urlForPostNumber(this.get('post.reply_to_post_number'))); + return; + } + if (replyHistory.length > 0) { var origHeight = this.$('.embedded-posts.top').height(); diff --git a/app/assets/stylesheets/mobile/topic-post.scss b/app/assets/stylesheets/mobile/topic-post.scss index 868256c11ab..f8f05fcbc11 100644 --- a/app/assets/stylesheets/mobile/topic-post.scss +++ b/app/assets/stylesheets/mobile/topic-post.scss @@ -121,7 +121,11 @@ button { } a.reply-to-tab { - display: none; + position: absolute; + z-index: 400; + right: 80px; + color: scale-color($primary, $lightness: 50%); + span { display: none; } } a.star {