Rename 'posts' to 'persons' in assigment templates.

This commit is contained in:
Emanuel Schütze 2016-12-02 14:41:34 +01:00
parent dc0559ef38
commit 65337ae2d2
3 changed files with 4 additions and 4 deletions

View File

@ -15,9 +15,9 @@ angular.module('OpenSlidesApp.assignments.pdf', ['OpenSlidesApp.core.pdf'])
var title = PDFLayout.createTitle(assignment.title); var title = PDFLayout.createTitle(assignment.title);
var isElectedSemaphore = false; var isElectedSemaphore = false;
// number of posts // open posts
var createPreamble = function() { var createPreamble = function() {
var preambleText = gettextCatalog.getString("Number of posts to be elected") + ": "; var preambleText = gettextCatalog.getString("Number of persons to be elected") + ": ";
var memberNumber = ""+assignment.open_posts; var memberNumber = ""+assignment.open_posts;
var preamble = { var preamble = {
text: [ text: [

View File

@ -174,7 +174,7 @@ angular.module('OpenSlidesApp.assignments.site', [
key: 'open_posts', key: 'open_posts',
type: 'input', type: 'input',
templateOptions: { templateOptions: {
label: gettextCatalog.getString('Number of posts to be elected'), label: gettextCatalog.getString('Number of persons to be elected'),
type: 'number', type: 'number',
required: true required: true
} }

View File

@ -47,7 +47,7 @@
<div class="row"> <div class="row">
<div class="col-md-6"> <div class="col-md-6">
<!-- posts --> <!-- posts -->
<h3 translate>Number of posts to be elected</h3> <h3 translate>Number of persons to be elected</h3>
{{ assignment.open_posts }}<br> {{ assignment.open_posts }}<br>
<!-- Tags --> <!-- Tags -->
<h3 ng-if="assignment.tags.length > 0" translate>Tags</h3> <h3 ng-if="assignment.tags.length > 0" translate>Tags</h3>