1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-17 15:02:34 +02:00

Fixed: Do not allow adding of a series without a title

This commit is contained in:
Mark McDowall 2015-01-26 22:47:12 -08:00
parent 6054dd8ee6
commit 4eb046113d

View File

@ -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>&nbsp;</label>--> <!--<label>&nbsp;</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">