mirror of https://github.com/lidarr/Lidarr
Fixed: Do not allow adding of a series without a title
This commit is contained in:
parent
6054dd8ee6
commit
4eb046113d
|
@ -67,6 +67,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{{#unless existing}}
|
{{#unless existing}}
|
||||||
|
{{#if title}}
|
||||||
<div class="form-group col-md-2 col-md-offset-10">
|
<div class="form-group col-md-2 col-md-offset-10">
|
||||||
<!--Uncomment if we need to add even more controls to add series-->
|
<!--Uncomment if we need to add even more controls to add series-->
|
||||||
<!--<label> </label>-->
|
<!--<label> </label>-->
|
||||||
|
@ -74,6 +75,13 @@
|
||||||
<i class="icon-plus"></i>
|
<i class="icon-plus"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
{{else}}
|
||||||
|
<div class="col-md-2 col-md-offset-10" title="Series requires an English title">
|
||||||
|
<button class="btn add-series disabled">
|
||||||
|
Add
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
{{/if}}
|
||||||
{{else}}
|
{{else}}
|
||||||
<div class="col-md-2 col-md-offset-10">
|
<div class="col-md-2 col-md-offset-10">
|
||||||
<button class="btn add-series disabled">
|
<button class="btn add-series disabled">
|
||||||
|
|
Loading…
Reference in New Issue