Sha256: 42e7b751bd8e3538ba191649030f39e275aadda7a4ecace959bf120c395cd6b4

Contents?: true

Size: 1.84 KB

Versions: 9

Compression:

Stored size: 1.84 KB

Contents

<%
# WontoMedia - a wontology web application
# Copyright (C) 2010 - Glen E. Ivey
#    www.wontology.com
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License version
# 3 as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program in the file COPYING and/or LICENSE.  If not,
# see "http://www.gnu.org/licenses/".
%>

<% @have_displayed_out_links = false unless defined? @have_displayed_out_links
 %>

<ul>
  <% if !defined? generating_index_page or !generating_index_page %>
    <li>
      <%= link_to 'View all items', items_path -%><%
      unless @have_displayed_out_links %><%=
        popup_help_icon "Help for items list", "Help:Popup/ShowItems" -%><%
      end %>
    </li>
  <% end %>

  <li>
    <%= link_to 'Create a new item', new_item_path, :rel => 'nofollow' -%><%
    unless @have_displayed_out_links %><%=
      popup_help_icon "Help for items create/new", "Help:Popup/ItemAdd" -%><%
    end %>
  </li>

  <li>
    <%= link_to 'View all connections', connections_path -%><%
    unless @have_displayed_out_links %><%=
      popup_help_icon "Help for connections list",
        "Help:Popup/ShowConnections" -%><%
    end %>
  </li>

  <li>
    <%= link_to 'Create a new connection', new_connection_path,
          :rel => 'nofollow' -%><%
    unless @have_displayed_out_links %><%=
      popup_help_icon "Help for connections create/new",
        "Help:Popup/ConnectionAdd" -%><%
    end %>
  </li>
</ul>

<% @have_displayed_out_links = true %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
wontomedia-1.0.2 app/views/items/_list_outbound_links.html.erb
wontomedia-1.0.1 app/views/items/_list_outbound_links.html.erb
wontomedia-1.0.0 app/views/items/_list_outbound_links.html.erb
wontomedia-0.2.1 app/views/items/_list_outbound_links.html.erb
wontomedia-0.2.0 app/views/items/_list_outbound_links.html.erb
wontomedia-0.1.1 app/views/items/_list_outbound_links.html.erb
wontomedia-0.1.0 app/views/items/_list_outbound_links.html.erb
wontomedia-0.0.2 app/views/items/_list_outbound_links.html.erb
wontomedia-0.0.1 app/views/items/_list_outbound_links.html.erb