-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #3644 - Add a "moved" milestone #3645
Conversation
@@ -43,6 +43,7 @@ export const Issue = Backbone.Model.extend({ | |||
var milestoneClass; | |||
if (response.milestone) { | |||
milestone = response.milestone.title; | |||
milestoneClass = response.milestone.title; | |||
} else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -15,5 +15,5 @@ | |||
<span class="label label-<%= data.milestoneClass %> js-Milestone"> | |||
<%= data.milestone %> | |||
</span> | |||
</span> | |||
</div> | |||
</script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There seems to be closing </span>
instead of a </div>
r? @karlcow |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
config/environment.py
Outdated
@@ -100,7 +100,8 @@ | |||
'invalid': {'id': 0, 'order': 4, 'state': 'closed'}, | |||
'non-compat': {'id': 0, 'order': 5, 'state': 'closed'}, | |||
'wontfix': {'id': 0, 'order': 6, 'state': 'closed'}, | |||
'worksforme': {'id': 0, 'order': 7, 'state': 'closed'}} | |||
'worksforme': {'id': 0, 'order': 7, 'state': 'closed'}, | |||
'moved': {'id': 0, 'order': 1, 'state': 'closed'}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see comment #3645 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to know, I'll change that :)
@@ -43,6 +43,7 @@ export const Issue = Backbone.Model.extend({ | |||
var milestoneClass; | |||
if (response.milestone) { | |||
milestone = response.milestone.title; | |||
milestoneClass = response.milestone.title; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch!
@@ -15,5 +15,5 @@ | |||
<span class="label label-<%= data.milestoneClass %> js-Milestone"> | |||
<%= data.milestone %> | |||
</span> | |||
</span> | |||
</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ooops
I've made the change, could you please take another look @karlcow? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! 🌊
This PR adds a "moved" milestone for issues that were moved to other bug trackers or repositories (bugzilla, fenix, firefox-ios, etc.)