summaryrefslogtreecommitdiff
path: root/app/views/projects/issues
diff options
context:
space:
mode:
authorArinde Eniola <eniolaarinde1@gmail.com>2016-03-17 22:34:42 +0100
committerArinde Eniola <eniolaarinde1@gmail.com>2016-03-17 22:34:42 +0100
commit613e0bc5411bd767eeca5439876d61d843957826 (patch)
tree9ab8e1f8a72e39884fa282fe77b533432238e20a /app/views/projects/issues
parentd1fd2cb8c1cad5299555c3e9cff54e1d8cde44c0 (diff)
downloadgitlab-ce-613e0bc5411bd767eeca5439876d61d843957826.tar.gz
Fix inconsistency in the header of issue and merge request pages
Diffstat (limited to 'app/views/projects/issues')
-rw-r--r--app/views/projects/issues/show.html.haml11
1 files changed, 5 insertions, 6 deletions
diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml
index 1e8308277cc..494f58c57cd 100644
--- a/app/views/projects/issues/show.html.haml
+++ b/app/views/projects/issues/show.html.haml
@@ -25,17 +25,16 @@
%strong.identifier
Issue ##{@issue.iid}
%span.creator
- by
+ opened
.editor-details
.editor-details
+ = time_ago_with_tooltip(@issue.created_at)
+ by
%strong
- = link_to_member(@project, @issue.author, size: 24, mobile_classes: "hidden-xs")
- %span.hidden-xs
- = '@' + @issue.author.username
+ = link_to_member(@project, @issue.author, avatar: false, size: 24, mobile_classes: "hidden-xs")
%strong
- = link_to_member(@project, @issue.author, size: 24, mobile_classes: "hidden-sm hidden-md hidden-lg",
+ = link_to_member(@project, @issue.author, avatar: false, size: 24, mobile_classes: "hidden-sm hidden-md hidden-lg",
by_username: true, avatar: false)
- = time_ago_with_tooltip(@issue.created_at)
.pull-right.issue-btn-group
- if can?(current_user, :create_issue, @project)