little fixes
This commit is contained in:
parent
4a5aea0b81
commit
84cd3dbc77
@ -78,8 +78,10 @@
|
||||
</div>
|
||||
|
||||
<div class="details">
|
||||
<h3 translate>Description</h3>
|
||||
<div class="white-space-pre-line">{{ assignment.description }}</div>
|
||||
<div ng-if="assignment.description">
|
||||
<h3 translate>Description</h3>
|
||||
<div class="white-space-pre-line">{{ assignment.description }}</div>
|
||||
</div>
|
||||
|
||||
<div ng-if="assignment.phase != 2">
|
||||
<h3 translate>Candidates</h3>
|
||||
|
@ -215,7 +215,7 @@ angular.module('OpenSlidesApp.core', [
|
||||
'$rootScope',
|
||||
function ($http, $rootScope) {
|
||||
// Loads server time and calculates server offset
|
||||
$rootScope.serverOffset = Math.floor(Date.now() / 1000);
|
||||
$rootScope.serverOffset = 0;
|
||||
$http.get('/core/servertime/')
|
||||
.then(function(data) {
|
||||
$rootScope.serverOffset = Math.floor(Date.now() / 1000 - data.data);
|
||||
|
@ -56,7 +56,7 @@
|
||||
</button>
|
||||
<button class="btn" ng-click="mediafileFit()" title="{{ 'Reset zoom' | translate }}"
|
||||
ng-class="presentedMediafile.scale=='page-fit' ? 'btn-primary' : 'btn-default'">
|
||||
100%
|
||||
<i class="fa fa-arrows-alt"></i>
|
||||
</button>
|
||||
<button class="btn btn-default" ng-click="mediafileZoomIn()" title="{{ 'Zoom in' | translate }}">
|
||||
<i class="fa fa-search-plus"></i>
|
||||
|
Loading…
Reference in New Issue
Block a user