Skip to content

Commit

Permalink
Change Resulting filename to Source name
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-sgaron committed Apr 15, 2020
1 parent 564bbbe commit 5219151
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assemblyline_ui/api/v4/signature.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ def update_signature_source(service, name, **_):

if name != data['name']:
return make_api_response({"success": False},
err="You are not allowed to change the source resulting filename.",
err="You are not allowed to change the source name.",
status_code=400)

if not service_data.get('update_config', {}).get('generates_signatures', False):
Expand Down
2 changes: 1 addition & 1 deletion assemblyline_ui/static/ng-template/signature_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</div>
<div class="col-md-6">
<div id="source_resulting_filename" class="form-group">
<label class="control-label">Resulting Filename</label>&nbsp;&nbsp;<label class="label label-danger">required</label>
<label class="control-label">Source Name</label>&nbsp;&nbsp;<label class="label label-danger">required</label>
<input type="text" class="form-control input-sm input" ng-model="current_source.name" ng-disabled="editmode">
<div id="source_name_error" class="col-md-12 text-danger">{{source_name_error}}</div>
</div>
Expand Down

0 comments on commit 5219151

Please sign in to comment.