Skip to content

Commit aa53eb2

Browse files
authored
Fix flag length (#636)
The database supports 64 characters from earlier update; however the UI was restricting the field to 16 characters.
1 parent 2c9086e commit aa53eb2

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

templates/admin/create/flag-choice.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ <h4 class="alert-heading">{{_("ERROR")}}</h4>
3737
<div class="control-group">
3838
<label class="control-label" for="flag_name">{{_("Flag Name")}}</label>
3939
<div class="controls">
40-
<input autofocus id="flag-name" maxlength="16" name="flag_name" type="text" placeholder="({{_('Optional')}})"
40+
<input autofocus id="flag-name" maxlength="64" name="flag_name" type="text" placeholder="({{_('Optional')}})"
4141
rel="popover"
4242
data-original-title="{{_('Flag Name')}}"
4343
data-content="{{_('This is what you want the flag to be displayed as. Leave blank to be named automatically by order #.')}}" />

templates/admin/create/flag-datetime.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h4 class="alert-heading">{{_("ERROR")}}</h4>
3636
<div class="control-group">
3737
<label class="control-label" for="flag_name">{{_("Flag Name")}}</label>
3838
<div class="controls">
39-
<input autofocus id="flag-name" maxlength="16" name="flag_name" type="text" placeholder="({{_('Optional')}})"
39+
<input autofocus id="flag-name" maxlength="64" name="flag_name" type="text" placeholder="({{_('Optional')}})"
4040
rel="popover"
4141
data-original-title="{{_('Flag Name')}}"
4242
data-content="{{_('This is what you want the flag to be displayed as. Leave blank to be named automatically by order #.')}}" />

templates/admin/create/flag-file.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h4 class="alert-heading">{{_("ERROR")}}</h4>
3636
<div class="control-group">
3737
<label class="control-label" for="flag_name">{{_("Flag Name")}}</label>
3838
<div class="controls">
39-
<input autofocus id="flag-name" maxlength="16" name="flag_name" type="text" placeholder="({{_('Optional')}})"
39+
<input autofocus id="flag-name" maxlength="64" name="flag_name" type="text" placeholder="({{_('Optional')}})"
4040
rel="popover"
4141
data-original-title="{{_('Flag Name')}}"
4242
data-content="{{_('This is what you want the flag to be displayed as. Leave blank to be named automatically by order #.')}}" />

templates/admin/create/flag-regex.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h4 class="alert-heading">{{_("ERROR")}}</h4>
3636
<div class="control-group">
3737
<label class="control-label" for="flag_name">{{_("Flag Name")}}</label>
3838
<div class="controls">
39-
<input autofocus id="flag-name" maxlength="16" name="flag_name" type="text" placeholder="({{_('Optional')}})"
39+
<input autofocus id="flag-name" maxlength="64" name="flag_name" type="text" placeholder="({{_('Optional')}})"
4040
rel="popover"
4141
data-original-title="{{_('Flag Name')}}"
4242
data-content="{{_('This is what you want the flag to be displayed as. Leave blank to be named automatically by order #.')}}" />

templates/admin/create/flag-static.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h4 class="alert-heading">{{_("ERROR")}}</h4>
3636
<div class="control-group">
3737
<label class="control-label" for="flag_name">{{_("Flag Name")}}</label>
3838
<div class="controls">
39-
<input autofocus id="flag-name" maxlength="16" name="flag_name" type="text" placeholder="({{_('Optional')}})"
39+
<input autofocus id="flag-name" maxlength="64" name="flag_name" type="text" placeholder="({{_('Optional')}})"
4040
rel="popover"
4141
data-original-title="{{_('Flag Name')}}"
4242
data-content="{{_('This is what you want the flag to be displayed as. Leave blank to be named automatically by order #.')}}" />

templates/admin/view/game_objects.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ <h3><i class="fa fa-fw fa-pencil"></i> {{_("Edit Flag")}}</h3>
311311
<div class="control-group">
312312
<label class="control-label" for="flag-name">{{_("Flag Name")}}</label>
313313
<div class="controls">
314-
<input id="flag-name" maxlength="16" name="name" type="text" placeholder="({{_('Optional')}}" />
314+
<input id="flag-name" maxlength="64" name="name" type="text" placeholder="({{_('Optional')}}" />
315315
</div>
316316
</div>
317317
<div class="control-group">

0 commit comments

Comments
 (0)