Skip to content

Commit

Permalink
Update copy in refresh error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
aroman committed Mar 24, 2013
1 parent 78b20e0 commit 136a8d0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions static/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,12 @@ select.input-xlarge {
padding: 0;
}

.status-lightbold {
font-weight: bold;
font-style: italic;
font-size: 12px;
}

/*
Styling for disabled drop-drop menu item
Adapted from: http://stackoverflow.com/questions/9682082
Expand Down
6 changes: 4 additions & 2 deletions static/js/views.js
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,9 @@ AppView = Backbone.View.extend({
if (err) {
app_status.set({
heading: "Refresh failed!",
message: "Shoot, something went wrong. Try again or nag Avi.",
message: 'Shoot, something went wrong. Try again (' +
'<span class="status-lightbold">Options</span> > ' +
'<span class="status-lightbold">Refresh</span>) or nag Avi',
kind: "error"
});
status_view.alert();
Expand Down Expand Up @@ -1247,7 +1249,7 @@ SetupView = Backbone.View.extend({

if (err) {
app_status.set({
heading: "Uh oh",
heading: "Uh-oh",
message: "Something went wrong setting up your account. Refresh to try again.",
kind: "error"
});
Expand Down

0 comments on commit 136a8d0

Please sign in to comment.