[Notice] Announcing the End of Demo Server [Read me]
issue: Change 'show watcher of this issue' button position and icon
@7f1d6e425132b2caed7217d2a59a34a7561365ab
--- app/utils/TemplateHelper.scala
+++ app/utils/TemplateHelper.scala
... | ... | @@ -35,7 +35,7 @@ |
35 | 35 |
|
36 | 36 |
def showWatchers(posting: AbstractPosting): String = { |
37 | 37 |
"<div class='show-watchers' data-toggle='tooltip' data-placement='top' data-trigger='hover' data-html='true' title='" + Messages.get("watchers") + "'>" + |
38 |
- "<button id='watcher-list-button' type='button' class='ybtn'><i class='yobicon-emo-coffee'></i><span class='watcherCount'></span></button>" + |
|
38 |
+ "<button id='watcher-list-button' type='button' class='ybtn'><i class='yobicon-emo-happy'></i><span class='watcherCount'></span></button>" + |
|
39 | 39 |
"</div>" |
40 | 40 |
} |
41 | 41 |
|
--- app/views/issue/view.scala.html
+++ app/views/issue/view.scala.html
... | ... | @@ -164,8 +164,6 @@ |
164 | 164 |
} |
165 | 165 |
</button> |
166 | 166 |
} |
167 |
- @Html(showWatchers(issue)) |
|
168 |
- |
|
169 | 167 |
<div id="vote" class="vote-wrap"> |
170 | 168 |
@if(isResourceCreatable(UserApp.currentUser, issue.asResource(), ResourceType.ISSUE_COMMENT)) { |
171 | 169 |
<a href="@urlToVote" class="ybtn @if(issue.isVotedBy(UserApp.currentUser)){ybtn-watching}" title="@getVoteButtonTitle" |
... | ... | @@ -190,6 +188,7 @@ |
190 | 188 |
@partial_voters(issue, 3) |
191 | 189 |
} |
192 | 190 |
</div> |
191 |
+ @Html(showWatchers(issue)) |
|
193 | 192 |
</div> |
194 | 193 |
</div> |
195 | 194 |
|
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?