mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-22 20:59:53 +00:00
fixed some bits
This commit is contained in:
parent
01b7f61e6b
commit
c961cea514
4 changed files with 4 additions and 8 deletions
services/web/app
|
@ -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"
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue