Skip to content

Commit

Permalink
creator: add new location_type value "transition" (#61)
Browse files Browse the repository at this point in the history
* creator: add new location_type value "transition"

* creator: add transition filter to location listing
  • Loading branch information
noerw authored Sep 3, 2021
1 parent 6792223 commit 125ed79
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions public/creator/templates/location/create.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
id="location_type"
required>
<option value="abstract">{{ '_ABSTRACT' | translate}}</option>
<option value="transition">{{ '_TRANSITION' | translate}}</option>
<option value="indoor">{{ '_INDOOR' | translate}}</option>
<option value="outdoor">{{ '_OUTDOOR' | translate}}</option>
</select>
Expand Down
1 change: 1 addition & 0 deletions public/creator/templates/location/edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
id="location_type"
required>
<option value="abstract">{{ '_ABSTRACT' | translate}}</option>
<option value="transition">{{ '_TRANSITION' | translate}}</option>
<option value="indoor">{{ '_INDOOR' | translate}}</option>
<option value="outdoor">{{ '_OUTDOOR' | translate}}</option>
</select>
Expand Down
1 change: 1 addition & 0 deletions public/creator/templates/location/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
<option value="outdoor">{{ '_OUTDOOR' | translate }}</option>
<option value="indoor">{{ '_INDOOR' | translate }}</option>
<option value="abstract">{{ '_ABSTRACT' | translate }}</option>
<option value="transition">{{ '_TRANSITION' | translate }}</option>
</select>
</div>
<small class="form-text text-muted">{{ 'FILTER_BY' | translate }}</small>
Expand Down
2 changes: 2 additions & 0 deletions public/translations/en_US.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ app.constant("en_US", {
CONNECTED: 'connected',
ABSTRACT: 'abstract',
_ABSTRACT: 'Abstract',
TRANSITION: 'transition',
_TRANSITION: 'Transition',
INDOOR: 'indoor',
_INDOOR: 'Indoor',
OUTDOOR: 'outdoor',
Expand Down

0 comments on commit 125ed79

Please sign in to comment.