Go to series instead of open series on episode modal

pull/2/head
Mark McDowall 10 years ago
parent 76acc8ffa6
commit e43f251f74

@ -188,7 +188,7 @@ define(
message: 'Added: ' + self.model.get('title'), message: 'Added: ' + self.model.get('title'),
actions : { actions : {
goToSeries: { goToSeries: {
label: 'Go to Series Page', label: 'Go to Series',
action: function() { action: function() {
Backbone.history.navigate('/series/' + self.model.get('titleSlug'), { trigger: true }); Backbone.history.navigate('/series/' + self.model.get('titleSlug'), { trigger: true });
} }

@ -25,7 +25,7 @@
<div class="modal-footer"> <div class="modal-footer">
{{#unless hideSeriesLink}} {{#unless hideSeriesLink}}
{{#with series}} {{#with series}}
<a href="{{route}}" class="btn btn-default pull-left" data-dismiss="modal">open series</a> <a href="{{route}}" class="btn btn-default pull-left" data-dismiss="modal">Go to Series</a>
{{/with}} {{/with}}
{{/unless}} {{/unless}}

Loading…
Cancel
Save