diff --git a/src/submission/migrations/0048_submissionconfiguration_submission_file_text.py b/src/submission/migrations/0048_submissionconfiguration_submission_file_text.py new file mode 100644 index 0000000000..167853c962 --- /dev/null +++ b/src/submission/migrations/0048_submissionconfiguration_submission_file_text.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.29 on 2020-08-01 09:24 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('submission', '0047_auto_20200720_1415'), + ] + + operations = [ + migrations.AddField( + model_name='submissionconfiguration', + name='submission_file_text', + field=models.CharField(default='Manuscript File', help_text='During submission the author will be asked to upload a filethat is considered the main text of the article. You can usethis field to change the label for that file in submission.', max_length=255), + ), + ] diff --git a/src/submission/models.py b/src/submission/models.py index ee3bb7b46f..f411e54cad 100755 --- a/src/submission/models.py +++ b/src/submission/models.py @@ -1517,6 +1517,13 @@ class SubmissionConfiguration(models.Model): help_text=_('The default section of ' 'articles when no option is presented'), ) + submission_file_text = models.CharField( + max_length=255, + default='Manuscript File', + help_text='During submission the author will be asked to upload a file' + 'that is considered the main text of the article. You can use' + 'this field to change the label for that file in submission.', + ) def __str__(self): return 'SubmissionConfiguration for {0}'.format(self.journal.name) diff --git a/src/templates/admin/elements/submit/file.html b/src/templates/admin/elements/submit/file.html index 985c70dcf1..c8eb89d5b1 100644 --- a/src/templates/admin/elements/submit/file.html +++ b/src/templates/admin/elements/submit/file.html @@ -32,7 +32,7 @@