Changeset 310

Show
Ignore:
Timestamp:
02/18/09 16:13:39 (10 years ago)
Author:
samuraraujo
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Explorator/trunk/app/views/explorator/_subject_view.rhtml

    r303 r310  
    4343                <font class = "instances " classes="('<%=h(uri(resource)) %>',:p,:o)" instances="(:s,RDF::type,'<%=h(uri(resource)) %>')">i</font> 
    4444                <%end%> 
    45        <%= render_resource(resource) %>          
    46         <% 
     45                        <% 
    4746        pred = predicates(resource,:s) 
    4847        if resources_paginated(:s).size() == 1 
     
    5150        limit =1 
    5251        end 
    53         pred[0..limit].each do |p| %> 
     52%> 
     53       <%= render_resource(resource) %>          
     54           <%if limit > 1%> 
     55           <hr> 
     56           <%end%> 
     57<%        pred[0..limit].each do |p| %> 
    5458        <div class = " _WINDOW properties"> 
    5559            <div class = "_WINDOW draggable select _NO_MINIMIZE <%=css(p)%> predicate" resource="<%= (uri(p)) %>" exp="('<%=(uri(p)) %>',:p,:o)" title="<%=  (to_s(p)) %>">