Merge pull request #1970 from ostcar/fix_1954

Fix autoupdate of motion title
This commit is contained in:
Norman Jäckel 2016-02-14 14:16:03 +01:00
commit 46c125d0c5
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>