Skip to content

Commit

Permalink
hide reports in workshop list
Browse files Browse the repository at this point in the history
  • Loading branch information
madhavipuliraju committed Feb 22, 2019
1 parent 3f5a38d commit d79315b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/static/partials/workshop.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<th>Version</th>
<th>Workshop Date</th>
<th>Participants Attended</th>
<th>Reports</th>
<!-- <th>Reports</th> -->
</tr>
</thead>
<tbody>
Expand All @@ -28,9 +28,9 @@
<td>{{ workshop.version }}</td>
<td>{{ workshop.date }}</td>
<td>{{ workshop.participants_attended }}</td>
<td ng-if="workshop.reports.length == 0">Not Available</td>
<td ng-if="workshop.reports.length > 0 && workshop.version == 'online'"><a href="#/ws-list/{{workshop.id}}"><button class="btn-primary">View</button></a></td>
<td ng-if="workshop.reports.length > 0 && workshop.version == 'offline'"><a href="#/ws-list/{{workshop.id}}"><button class="btn-primary">View</button></a></td>
<!-- <td ng-if="workshop.reports.length == 0">Not Available</td> -->
<!-- <td ng-if="workshop.reports.length > 0 && workshop.version == 'online'"><a href="#/ws-list/{{workshop.id}}"><button class="btn-primary">View</button></a></td> -->
<!-- <td ng-if="workshop.reports.length > 0 && workshop.version == 'offline'"><a href="#/ws-list/{{workshop.id}}"><button class="btn-primary">View</button></a></td> -->
</tr>
</table>
</div>
Expand Down

0 comments on commit d79315b

Please sign in to comment.