Commit 608f3286 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Show iid as default id for issues, mr

parent c1583c6d
......@@ -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
......
%h3.page-title
Issue ##{@issue.id}
Issue ##{@issue.iid}
%small
created at
......
%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
......
%h3.page-title
= "Merge Request ##{@merge_request.id}:"
= "Merge Request ##{@merge_request.iid}:"
 
-if @merge_request.for_fork?
%span.label-branch
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment