Show iid as default id for issues, mr

This commit is contained in:
Dmitriy Zaporozhets 2013-08-19 22:12:40 +03:00
parent c1583c6d74
commit 608f328653
4 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@
= check_box_tag dom_id(issue,"selected"), nil, false, 'data-id' => issue.id, class: "selected_issue", disabled: !can?(current_user, :modify_issue, issue)
.issue-title
%span.light= "##{issue.id}"
%span.light= "##{issue.iid}"
= link_to_gfm truncate(issue.title, length: 100), project_issue_path(issue.project, issue), class: "row_title"
.issue-info

View file

@ -1,5 +1,5 @@
%h3.page-title
Issue ##{@issue.id}
Issue ##{@issue.iid}
%small
created at

View file

@ -1,6 +1,6 @@
%li{ class: mr_css_classes(merge_request) }
.merge-request-title
%span.light= "##{merge_request.id}"
%span.light= "##{merge_request.iid}"
= link_to_gfm truncate(merge_request.title, length: 80), project_merge_request_path(merge_request.target_project, merge_request), class: "row_title"
- if merge_request.merged?
%small.pull-right

View file

@ -1,5 +1,5 @@
%h3.page-title
= "Merge Request ##{@merge_request.id}:"
= "Merge Request ##{@merge_request.iid}:"
 
-if @merge_request.for_fork?
%span.label-branch