Skip to content

Commit

Permalink
Merge pull request #78 from Google-IO-Extended-Grand-Rapids/bugfix/nu…
Browse files Browse the repository at this point in the history
…ll_view

null checks on view
  • Loading branch information
chenry committed May 17, 2015
2 parents 33c948c + 72e6832 commit f440580
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/templates/conference.html
Expand Up @@ -40,7 +40,7 @@ <h3>All Conferences</h3>
<td th:text="${conference.startDate}"></td>
<td th:text="${conference.endDate}"></td>
<td th:text="${conference.lastUpdateDttm}"></td>
<td th:text="${conference.locationView.id} + ' - ' + ${conference.locationView.shortDesc}"></td>
<td th:text="${conference.locationView != null} ? ${conference.locationView.id} + ' - ' + ${conference.locationView.shortDesc}"></td>
<td> <form th:action="@{/admin/conference}" th:method="delete"><input type="hidden" name="id" th:value="${conference.id}" /><input type="submit" value="Delete" /></form></td>
</tr>
</table>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/presenter.html
Expand Up @@ -31,7 +31,7 @@ <h3>All Presenters</h3>
<td th:text="${presenter.userId}"></td>
<td th:text="${presenter.shortBio}"></td>
<td th:text="${presenter.jobTitle}"></td>
<td th:text="${presenter.companyView.name}"></td>
<td th:text="${presenter.companyView != null} ? presenter.companyView.name"></td>
<td> <form th:action="@{/admin/presenter}" th:method="delete"><input type="hidden" name="id" th:value="${presenter.id}" /><input type="submit" value="Delete" /></form></td>
</tr>
</table>
Expand Down

0 comments on commit f440580

Please sign in to comment.