mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-14 15:16:04 +10:00
Update links to milestones
This commit is contained in:
@@ -46,9 +46,7 @@
|
||||
- if @issue.milestone
|
||||
- milestone = @issue.milestone
|
||||
%cite.cgray and attached to milestone
|
||||
= link_to project_milestone_path(milestone.project, milestone) do
|
||||
%strong
|
||||
= truncate(milestone.title, :length => 20)
|
||||
%strong= link_to truncate(milestone.title, :length => 20), project_milestone_path(milestone.project, milestone)
|
||||
|
||||
.right
|
||||
- @issue.labels.each do |label|
|
||||
|
||||
@@ -6,14 +6,13 @@
|
||||
= link_to 'Browse Issues', project_issues_path(milestone.project, :milestone_id => milestone.id), :class => "btn small grouped"
|
||||
- if can? current_user, :admin_milestone, milestone.project
|
||||
= link_to 'Edit', edit_project_milestone_path(milestone.project, milestone), :class => "btn small edit-milestone-link grouped"
|
||||
= link_to project_milestone_path(milestone.project, milestone) do
|
||||
%h4.row_title
|
||||
= truncate(milestone.title, :length => 100)
|
||||
%small
|
||||
= milestone.expires_at
|
||||
%br
|
||||
.progress.progress-success.span3
|
||||
.bar{:style => "width: #{milestone.percent_complete}%;"}
|
||||
%h4
|
||||
= link_to truncate(milestone.title, :length => 100), project_milestone_path(milestone.project, milestone), :class => "row_title"
|
||||
%small
|
||||
= milestone.expires_at
|
||||
%br
|
||||
.progress.progress-success.span3
|
||||
.bar{:style => "width: #{milestone.percent_complete}%;"}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user