Create milestones in the group
When you work with groups its quite often you want to create same milestone in multiple projects. This MR allows you to do so
For #3488 (closed)
Signed-off-by: Dmitriy Zaporozhets dmitriy.zaporozhets@gmail.com
Merge request reports
Activity
Added 1 commit:
- 8630d476 - Add header and page title to new milestone page
@JobV @sytses Does it makes sense to add same
Projects
selectbox if you create milestone from project page too? For example while creating milestone inside project you decided that it would be nice to create same milestone in another project of group. In this case you can just add it right there instead of canceling everything and creating milestone from group page.Example:
Edited by username-removed-444@dzaporozhets yes it does.
Added 1 commit:
- f16f3151 - Few changes to Group Milestone feature:
Added 1 commit:
- 78d542fc - Add milestones documentation to workflow
Added 1 commit:
- 929ab909 - Group masters should be able to create/close milestones
@JobV cool. I will create issue for this.
EDIT: #3505 (closed)
Edited by username-removed-444Added 1 commit:
- 32f1a719 - Fix removing avatar for group
Added 1 commit:
- b093f509 - Some code and doc improvements
mentioned in issue #3401 (closed)
mentioned in commit 0061143c
@axil no. As merge request title says you can only create milestone from group.
- app/views/groups/milestones/new.html.haml 0 → 100644
31 .form-group 32 = f.label :due_date, "Due Date", class: "control-label" 33 .col-sm-10= f.hidden_field :due_date 34 .col-sm-10 35 .datepicker 36 37 .form-actions 38 = f.submit 'Create Milestone', class: "btn-create btn" 39 = link_to "Cancel", group_milestones_path(@group), class: "btn btn-cancel" 40 41 42 :javascript 43 $( ".datepicker" ).datepicker({ 44 dateFormat: "yy-mm-dd", 45 onSelect: function(dateText, inst) { $("#milestone_due_date").val(dateText) } 46 }).datepicker("setDate", $.datepicker.parseDate('yy-mm-dd', $('#milestone_due_date').val())); @dzaporozhets What these customizations for? I replaced with
$(".datepicker").datepicker({ dateFormat: "yy-mm-dd" });
and it works as before. Am I missing something?
Edited by Valery Sizov@vsizov I probably copy-pasted code from other milestone form. And when other milestone form was created - we probably need it for work.