Skip to content

Commit

Permalink
Merge pull request #4528 from whatisgalen/4516_galen_remove_default_s…
Browse files Browse the repository at this point in the history
…urvey_name

replaces default Unnamed as survey name with placeholder
  • Loading branch information
robgaston authored Feb 7, 2019
2 parents f5efbd1 + c8ffe5b commit 790f267
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arches/app/templates/views/mobile-survey-designer.htm
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ <h1 class="page-header text-overflow mobile-designer-title">
<div class="col-sm-5">
<div class="form-group">
<label class="control-label account-label">{% trans 'Survey name' %}</label>
<input type="text" class="form-control input-lg account-input" data-bind="value: mobilesurvey.name, valueUpdate: 'keyup'">
<input type="text" class="form-control input-lg account-input" placeholder="{% trans 'Survey name' %}" data-bind="value: mobilesurvey.name, valueUpdate: 'keyup'">
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion arches/app/views/mobile_survey.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def get_history(survey, history):
else:
survey = MobileSurvey(
id=surveyid,
name=_('Unnamed'),
name=_(''),
datadownloadconfig={"download": False, "count": 100, "resources": [], "custom": None},
onlinebasemaps=settings.MOBILE_DEFAULT_ONLINE_BASEMAP,
)
Expand Down

0 comments on commit 790f267

Please sign in to comment.