Merge pull request #3612 from emanuelschuetze/fixAgendaImport
Fixed agenda import with empty duration (fix #3603, fix #3601).
This commit is contained in:
commit
2c266ffc03
@ -309,7 +309,7 @@ angular.module('OpenSlidesApp.topics.site', ['OpenSlidesApp.topics', 'OpenSlides
|
|||||||
}
|
}
|
||||||
item.duration = time;
|
item.duration = time;
|
||||||
} else {
|
} else {
|
||||||
item.duration = null;
|
delete item.duration;
|
||||||
}
|
}
|
||||||
// is_hidden
|
// is_hidden
|
||||||
if (item.is_hidden) {
|
if (item.is_hidden) {
|
||||||
|
@ -92,7 +92,7 @@
|
|||||||
</span>
|
</span>
|
||||||
{{ item.title }}
|
{{ item.title }}
|
||||||
<td>{{ item.text | limitTo:80 }}{{ item.text.length > 80 ? '...' : '' }}
|
<td>{{ item.text | limitTo:80 }}{{ item.text.length > 80 ? '...' : '' }}
|
||||||
<td>{{ item.duration | osMinutesToTime }}
|
<td>{{ item.duration ? 'item.duration | osMinutesToTime' : '' }}
|
||||||
<td>{{ item.comment }}
|
<td>{{ item.comment }}
|
||||||
<td>{{ item.is_hidden }}
|
<td>{{ item.is_hidden }}
|
||||||
</table>
|
</table>
|
||||||
@ -100,7 +100,7 @@
|
|||||||
|
|
||||||
<div class="text-danger">
|
<div class="text-danger">
|
||||||
<i class="fa fa-exclamation-triangle"></i>
|
<i class="fa fa-exclamation-triangle"></i>
|
||||||
{{ itemsWillNMotBeImported }}
|
{{ itemsWillNotBeImported }}
|
||||||
<translate>topics will be not imported.</translate>
|
<translate>topics will be not imported.</translate>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
Loading…
Reference in New Issue
Block a user