Modified: branches/wf4ever/app/views/packs/_items.rhtml (3406 => 3407)
--- branches/wf4ever/app/views/packs/_items.rhtml 2013-02-07 01:47:55 UTC (rev 3406)
+++ branches/wf4ever/app/views/packs/_items.rhtml 2013-02-07 01:52:40 UTC (rev 3407)
@@ -98,7 +98,8 @@
</li>
<% else %>
<%
- label = e.ro_local_uri.split("/").last
+ label = e.ro_local_uri
+ label = label.split("/").last unless label.starts_with?("http:")
annotations = get_annotations(pack.ro_uri, e.uri)
types = resource_types_as_labels(annotations, e.uri)
if types.include? "Sketch"