mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
Go to series instead of open series on episode modal
This commit is contained in:
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…
Reference in New Issue
Block a user