Sha256: e0ab95c8f5969df77034ea9cbde3ac57f9f735ed280d5fb28478454e46cf983a

Contents?: true

Size: 1.8 KB

Versions: 94

Compression:

Stored size: 1.8 KB

Contents

<%
    raise "Missing 'repo_url' key in github_repo landing page block" unless local_assigns['repo_url']
    raise "Missing 'github_repo_title' key in github_repo landing page block" unless local_assigns['github_repo_title']
    raise "Missing 'language' key in github_repo landing page block" unless local_assigns['language']
%>

    <a class="Vlt-card Nxd-github-card Vlt-left" href="<%= local_assigns['repo_url'] %>" data-github="<%= local_assigns['repo_url'].split('.com/').last %>">
      <h3 class="Vlt-blue-dark"><%= local_assigns['repo_url'].split('/').last %></h3>
      <p><%= local_assigns['github_repo_title'] %></p>
      <% if local_assigns['badge_url'] %>
        <img src="<%= local_assigns['badge_url'] %>" class="Nxd-github-card__badge" height="18">
        <p>
      <% end %>
      <p><small class="Nxd-github-card__meta">
        <span>
          <span class="Vlt-blue-dark">●</span> <%= local_assigns['language'] %>
        </span>
        <span>
          <svg class="Vlt-icon Vlt-icon--smaller Vlt-icon--text-bottom Vlt-grey-darker" aria-hidden="true"><use xlink:href="/symbol/volta-icons.svg#Vlt-icon-star-full"></use></svg>
          <span data-stars>
            <svg class="Vlt-icon Vlt-icon--smaller Vlt-icon--text-bottom Vlt-grey-darker" aria-hidden="true"><use xlink:href="/symbol/volta-icons.svg#Vlt-icon-more"></use></svg>
          </span>
        </span>
        <span>
          <svg class="Vlt-icon Vlt-icon--smaller Vlt-icon--text-bottom Vlt-grey-darker" aria-hidden="true"><use xlink:href="/symbol/volta-icons.svg#Vlt-icon-fork"/></svg>
          <span data-forks>
            <svg class="Vlt-icon Vlt-icon--smaller Vlt-icon--text-bottom Vlt-grey-darker" aria-hidden="true"><use xlink:href="/symbol/volta-icons.svg#Vlt-icon-more"/></svg>
          </span>
        </span>
      </small></p>
    </a>

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
station-0.5.16 lib/nexmo_developer/app/views/static/default_landing/partials/_github_repo.html.erb
station-0.5.15 lib/nexmo_developer/app/views/static/default_landing/partials/_github_repo.html.erb
station-0.5.14 lib/nexmo_developer/app/views/static/default_landing/partials/_github_repo.html.erb
station-0.5.13 lib/nexmo_developer/app/views/static/default_landing/partials/_github_repo.html.erb
station-0.5.12 lib/nexmo_developer/app/views/static/default_landing/partials/_github_repo.html.erb
station-0.5.11 lib/nexmo_developer/app/views/static/default_landing/partials/_github_repo.html.erb
station-0.5.10 lib/nexmo_developer/app/views/static/default_landing/partials/_github_repo.html.erb
station-0.5.9 lib/nexmo_developer/app/views/static/default_landing/partials/_github_repo.html.erb
station-0.5.8 lib/nexmo_developer/app/views/static/default_landing/partials/_github_repo.html.erb
station-0.5.7 lib/nexmo_developer/app/views/static/default_landing/partials/_github_repo.html.erb
station-0.5.6 lib/nexmo_developer/app/views/static/default_landing/partials/_github_repo.html.erb
station-0.5.5 lib/nexmo_developer/app/views/static/default_landing/partials/_github_repo.html.erb
station-0.5.4 lib/nexmo_developer/app/views/static/default_landing/partials/_github_repo.html.erb
station-0.5.3 lib/nexmo_developer/app/views/static/default_landing/partials/_github_repo.html.erb
station-0.5.2 lib/nexmo_developer/app/views/static/default_landing/partials/_github_repo.html.erb
station-0.5.1 lib/nexmo_developer/app/views/static/default_landing/partials/_github_repo.html.erb
station-0.5.0 lib/nexmo_developer/app/views/static/default_landing/partials/_github_repo.html.erb
station-0.4.9 lib/nexmo_developer/app/views/static/default_landing/partials/_github_repo.html.erb
station-0.4.8 lib/nexmo_developer/app/views/static/default_landing/partials/_github_repo.html.erb
station-0.4.7 lib/nexmo_developer/app/views/static/default_landing/partials/_github_repo.html.erb