myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [3702] branches/packs: added external link to ext


From: noreply
Subject: [myexperiment-hackers] [3702] branches/packs: added external link to external links
Date: Wed, 11 Sep 2013 08:49:35 +0000 (UTC)

Revision
3702
Author
dgc
Date
2013-09-11 08:49:34 +0000 (Wed, 11 Sep 2013)

Log Message

added external link to external links

Modified Paths

Added Paths

Diff

Modified: branches/packs/app/views/items/show.html.erb (3701 => 3702)


--- branches/packs/app/views/items/show.html.erb	2013-09-11 01:01:12 UTC (rev 3701)
+++ branches/packs/app/views/items/show.html.erb	2013-09-11 08:49:34 UTC (rev 3702)
@@ -14,6 +14,15 @@
         <td>Title</td>
         <td><%=h @title -%></td>
       </tr>
+      <% if @item.is_proxy %>
+        <tr>
+          <td>External link</td>
+          <td>
+            <%= link_to(h(@item.proxy_for_path), @item.proxy_for_path) -%>
+            <%= image_tag('link-md.png', :width => '10px') -%>
+            </td>
+        </tr>
+      <% end %>
       <tr>
         <td>Aggregator</td>
         <td><%= user_link(@item.creator_uri) -%></td>

Added: branches/packs/public/images/link-md.png


(Binary files differ)
Property changes on: branches/packs/public/images/link-md.png ___________________________________________________________________

Added: svn:mime-type


reply via email to

[Prev in Thread] Current Thread [Next in Thread]