Sha256: b27ed685b2277e6d4c53251687d7f0a27fdbeac505be32d9deba99719baa8c3e

Contents?: true

Size: 645 Bytes

Versions: 12

Compression:

Stored size: 645 Bytes

Contents

<%= render Primer::ConditionalWrapper.new(condition: tooltip?, trim: true, tag: :span, position: :relative) do %>
  <%= render(Primer::BaseComponent.new(trim: true, **@system_arguments)) do %>
    <% if leading_visual || trailing_visual %>
      <%= render(Primer::BaseComponent.new(tag: :span, classes: "Link-content", trim: true)) do %>
        <% if leading_visual %>
          <%= leading_visual %>
        <% end %>
        <%= content %>
        <% if trailing_visual %>
          <%= trailing_visual %>
        <% end %>
      <% end %>
    <% else %>
      <%= content %>
    <% end %>
  <% end %>
  <%= tooltip if tooltip? %>
<% end %>

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
primer_view_components-0.36.5 app/components/primer/beta/link.html.erb
openproject-primer_view_components-0.52.2 app/components/primer/beta/link.html.erb
primer_view_components-0.36.4 app/components/primer/beta/link.html.erb
openproject-primer_view_components-0.52.1 app/components/primer/beta/link.html.erb
openproject-primer_view_components-0.52.0 app/components/primer/beta/link.html.erb
primer_view_components-0.36.3 app/components/primer/beta/link.html.erb
openproject-primer_view_components-0.51.0 app/components/primer/beta/link.html.erb
primer_view_components-0.36.2 app/components/primer/beta/link.html.erb
openproject-primer_view_components-0.50.1 app/components/primer/beta/link.html.erb
openproject-primer_view_components-0.50.0 app/components/primer/beta/link.html.erb
primer_view_components-0.36.1 app/components/primer/beta/link.html.erb
primer_view_components-0.36.0 app/components/primer/beta/link.html.erb