mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
Updates to ‘send SMS’ page
Based on discussion with Pete. Make the blue banner an ‘important’ banner (copied from Register to Vote, used because it’s not as boxy and fits on the page better). Remove the back button because you haven’t changed any data yet. If you need to go back you can just press back or start again. Make the filename stand out more. Remove the ‘download example’ link. Will need to revist the best way of doing this. Make text messages consistently 2/3rd width.
This commit is contained in:
@@ -217,7 +217,7 @@ class ChangePasswordForm(Form):
|
||||
|
||||
|
||||
class CsvUploadForm(Form):
|
||||
file = FileField('Add your recipients by uploading a CSV file', validators=[DataRequired(
|
||||
file = FileField('Add recipients', validators=[DataRequired(
|
||||
message='Please pick a file'), CsvFileValidator()])
|
||||
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@ from app.main.forms import AddServiceForm
|
||||
def add_service():
|
||||
form = AddServiceForm(services_dao.find_all_service_names)
|
||||
services = services_dao.get_services(current_user.id)
|
||||
if len(services) == 0:
|
||||
heading = 'Set up notifications for your service'
|
||||
if len(services['data']) == 0:
|
||||
heading = 'Which service do you want to set up notifications for?'
|
||||
else:
|
||||
heading = 'Add a new service'
|
||||
if form.validate_on_submit():
|
||||
|
||||
@@ -29,7 +29,7 @@ def service_dashboard(service_id):
|
||||
return render_template(
|
||||
'views/service_dashboard.html',
|
||||
jobs=list(reversed(jobs)),
|
||||
free_text_messages_remaining='25,000',
|
||||
free_text_messages_remaining='250,000',
|
||||
spent_this_month='0.00',
|
||||
template_count=len(templates),
|
||||
service_id=str(service_id))
|
||||
|
||||
Reference in New Issue
Block a user