fix npe
This commit is contained in:
parent
7b8f7a2047
commit
1f264331fa
@ -76,11 +76,11 @@
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Дата создания:</label>
|
||||
<span th:text="${#dates.format(paperDto.createDate, 'dd.MM.yyyy HH:mm')}">text</span>
|
||||
<span th:text="${paperDto.createDate == null ? '' : #dates.format(paperDto.createDate, 'dd.MM.yyyy HH:mm')}">text</span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Последнее изменение:</label>
|
||||
<span th:text="${#dates.format(paperDto.updateDate, 'dd.MM.yyyy HH:mm')}">text</span>
|
||||
<span th:text="${paperDto.updateDate == null ? '' : #dates.format(paperDto.updateDate, 'dd.MM.yyyy HH:mm')}">text</span>
|
||||
</div>
|
||||
<p><a href="#myModal1" class="btn btn-primary" data-toggle="modal">Редактировать
|
||||
авторов
|
||||
|
Loading…
Reference in New Issue
Block a user