Fix autoupdate of motion title

fix #1954
This commit is contained in:
Oskar Hahn 2016-02-13 07:15:47 +01:00
parent ea4d3a2d75
commit 481822219a
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
<i class="fa fa-pencil"></i> <i class="fa fa-pencil"></i>
</a> </a>
</div> </div>
<h1>{{ motion.agenda_item.getTitle() }}</h1> <h1>{{ motion.getTitle() }}</h1>
<h2> <h2>
<translate>Motion</translate> {{ motion.identifier }} <translate>Motion</translate> {{ motion.identifier }}
<span ng-if="motion.versions.length > 1" >| Version {{ motion.getVersion(version).version_number }}</span> <span ng-if="motion.versions.length > 1" >| Version {{ motion.getVersion(version).version_number }}</span>

View File

@ -54,7 +54,7 @@
<!-- Title --> <!-- Title -->
<div id="title"> <div id="title">
<h1>{{ motion.agenda_item.getTitle() }}</h1> <h1>{{ motion.getTitle() }}</h1>
<h2> <h2>
<translate>Motion</translate> {{ motion.identifier }} <translate>Motion</translate> {{ motion.identifier }}
<span ng-if="motion.versions.length > 1" >| Version {{ motion.getVersion().version_number }}</span> <span ng-if="motion.versions.length > 1" >| Version {{ motion.getVersion().version_number }}</span>