Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Temp hack to make meetings load.

  • Loading branch information...
commit fbe70dd3d2edf105bf1f4fe34d9ddd740c77bd43 1 parent 30cbdd1
@GraylinKim GraylinKim authored
Showing with 11 additions and 4 deletions.
  1. +11 −4 src/main/webapp/templates/meeting.jsp
View
15 src/main/webapp/templates/meeting.jsp
@@ -5,9 +5,13 @@
Meeting meeting = (Meeting) request.getAttribute("meeting");
- Addendum addendum = meeting.getAddendums().get(meeting.getAddendums().size() - 1);
- Agenda agenda = addendum.getAgenda();
- String calNo = agenda.getNumber() + "";
+ //Temp Hack
+ String calNo = "";
+ Addendum addendum = null;
+ if (meeting.getAddendums().size() > 0) {
+ addendum = meeting.getAddendums().get(meeting.getAddendums().size() - 1);
+ calNo = addendum.getAgenda().getNumber()+"";
+ }
%>
<br />
@@ -29,7 +33,10 @@
<% if(meeting.getLocation() != null) { %>
/ <b>Location:</b> <%=meeting.getLocation()%>
<% } %>
- <b>Addendum:</b> <%=addendum.getAddendumId()%> / <b>Published:</b> <%=addendum.getPublicationDateTime()%> / <b>Week of:</b> <%=addendum.getWeekOf()%></div>
+ <% if (addendum != null) { %>
+ <b>Addendum:</b> <%=addendum.getAddendumId()%> / <b>Published:</b> <%=addendum.getPublicationDateTime()%> / <b>Week of:</b> <%=addendum.getWeekOf()%>
+ <% } %>
+ </div>
<div id="committeeNotes">
<% if (meeting.getNotes() != null && meeting.getNotes().trim().length() > 0) { %>
<h3>Notes</h3>
Please sign in to comment.
Something went wrong with that request. Please try again.