Send button for reports

main
Bob Mottram 2022-11-08 20:20:36 +00:00
parent fb1f08bce7
commit 26ca9342b9
1 changed files with 2 additions and 1 deletions

View File

@ -880,7 +880,8 @@ def html_new_post(media_instance: bool, translate: {},
' <td><input type="submit" name="submitCitations" value="' + \
translate['Citations'] + '"></td>\n'
if not path.endswith('/newdm'):
if not path.endswith('/newdm') and \
not path.endswith('/newreport'):
submit_text = translate['Publish']
else:
submit_text = translate['Send']