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