Added org name to pid table

This commit is contained in:
Nick Johnson committed 2015-04-03 22:48:04 +01:00
1 parent 1e32319dfa
commit cd8952fea9
1 file changed
+3 -1
+3 -1
View File
@@ -6,9 +6,11 @@
{% for pid in pids %}
{% assign urlparts = pid.url|split:"/" %}
{% if include.vid == urlparts[1] %}
{% capture orgpath %}/org/{{pid.owner}}/{% endcapture %}
{% assign org = orgs|where:"url",orgpath|first %}
<tr>
<th><a href="{{pid.url}}">{{urlparts[2]}}</a></th>
<td>{{pid.title}}</td>
<td>{{org.title}} {{pid.title}}</td>
</tr>
{% endif %}
{% endfor %}