improve 'try again' mobile network error page

This commit is contained in:
Jeff Atwood 2014-10-11 23:36:37 -07:00
parent a23884fd53
commit 053e3fca20
1 changed files with 2 additions and 2 deletions

View File

@ -127,13 +127,13 @@
{{{notFoundHtml}}} {{{notFoundHtml}}}
{{else}} {{else}}
<div class="topic-error"> <div class="topic-error">
{{message}} <div>{{message}}</div>
{{#if noRetry}} {{#if noRetry}}
{{#unless currentUser}} {{#unless currentUser}}
<button {{action "showLogin"}} class='btn btn-primary topic-retry'>{{fa-icon user}} {{i18n log_in}}</button> <button {{action "showLogin"}} class='btn btn-primary topic-retry'>{{fa-icon user}} {{i18n log_in}}</button>
{{/unless}} {{/unless}}
{{else}} {{else}}
<button class="btn btn-primary topic-retry" {{action "retryLoading"}}>{{i18n errors.buttons.again}}</button> <button class="btn btn-primary topic-retry" {{action "retryLoading"}}><i class="fa fa-refresh"></i> {{i18n errors.buttons.again}}</button>
{{/if}} {{/if}}
</div> </div>
{{#if retrying}} {{#if retrying}}