fixed some bits

This commit is contained in:
Henry Oswald 2014-08-07 13:56:04 +01:00
parent 01b7f61e6b
commit c961cea514
4 changed files with 4 additions and 8 deletions

View file

@ -2,4 +2,4 @@ module.exports = ErrorController =
notFound: (req, res)->
res.statusCode = 404
res.render 'general/404',
title: "Page Not Found"
title: "page_not_found"

View file

@ -28,10 +28,7 @@ block content
strong #{translate("reconnecting")}...
.div(ng-controller="SavingNotificationController")
.alert.alert-warning.small(
ng-repeat="(doc_id, state) in docSavingStatus"
ng-if="state.unsavedSeconds > 3"
) #{translate("saving_notification_with_seconds", {docname:"{{ state.doc.name }}", seconds:"{{ state.unsavedSeconds }}"})}
.alert.alert-warning.small( ng-repeat="(doc_id, state) in docSavingStatus" ng-if="state.unsavedSeconds > 3") #{translate("saving_notification_with_seconds", {docname:"{{ state.doc.name }}", seconds:"{{ state.unsavedSeconds }}"})}
include ./editor/left-menu

View file

@ -27,8 +27,7 @@ aside.chat(
ng-controller="ChatMessageController"
ng-class="{'self': message.user.id == user.id }"
)
div.date(ng-if="$index == 0 || (message.timestamp - chat.messages[$index - 1].timestamp) > 5 * 60 * 1000")
{{ message.timestamp | formatDate:'h:mm a' }} {{ message.timestamp | relativeDate }}
div.date(ng-if="$index == 0 || (message.timestamp - chat.messages[$index - 1].timestamp) > 5 * 60 * 1000") {{ message.timestamp | formatDate:'h:mm a' }} {{ message.timestamp | relativeDate }}
span.avatar
img(ng-src="{{message.user.gravatar_url}}?d=mm&s=50")
div.message-wrapper

View file

@ -85,7 +85,7 @@ script(type='text/ng-template', id='cloneProjectModalTemplate')
ng-click="clone()"
)
span(ng-hide="state.inflight") #{translate("copy")}
span(ng-show="state.inflight") #{translate("coping")} ...
span(ng-show="state.inflight") #{translate("copying")} ...
script(type='text/ng-template', id='newProjectModalTemplate')
.modal-header