Skip to content

Commit

Permalink
quickfix: org adres ranges formatting in template
Browse files Browse the repository at this point in the history
  • Loading branch information
jirivrany committed Jul 15, 2024
1 parent 64b3e00 commit 52cae97
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions flowapp/templates/pages/orgs.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,19 @@
<table class="table table-hover">
<tr>
<th>Name</th>
<th>Adress Range</th>
<th>Adress Ranges</th>
<th>action</th>
</tr>
{% for org in orgs %}
<tr>
<td>{{ org.name }}</td>
<td>
{% set rows = org.arange.split() %}
{{ rows|join("<br>") }}
<ul class="list-group">
{% for row in rows %}
<li class="list-group-item">{{ row }}</li>
{% endfor %}
</ul>
</td>
<td>
<a class="btn btn-info btn-sm" href="{{ url_for('admin.edit_organization', org_id=org.id) }}" role="button">
Expand Down

0 comments on commit 52cae97

Please sign in to comment.