Sha256: 944ca5779aaf4fdacaba735d9f8011105aaf927c28278138c756dabd731f1151

Contents?: true

Size: 570 Bytes

Versions: 9

Compression:

Stored size: 570 Bytes

Contents

<div id="oauth-applications">
  <a class="btn btn-outline-primary" href="/oauth-applications/new">#{rodauth.new_oauth_application_page_title}</a>
  #{
    if @oauth_applications.count.zero?
      "<p>No oauth applications yet!</p>"
    else
      "<ul class=\"list-group\">" +
        @oauth_applications.map do |application|
          "<li class=\"list-group-item\"><a href=\"/oauth-applications/#{application[:id]}\">#{application[:name]}</a></li>"
        end.join +
      "</ul>"
    end
  }
  #{rodauth.oauth_management_pagination_links(@oauth_applications)}
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rodauth-oauth-0.10.4 templates/oauth_applications.str
rodauth-oauth-0.10.3 templates/oauth_applications.str
rodauth-oauth-0.10.2 templates/oauth_applications.str
rodauth-oauth-0.10.1 templates/oauth_applications.str
rodauth-oauth-0.10.0 templates/oauth_applications.str
rodauth-oauth-0.9.3 templates/oauth_applications.str
rodauth-oauth-0.9.2 templates/oauth_applications.str
rodauth-oauth-0.9.1 templates/oauth_applications.str
rodauth-oauth-0.9.0 templates/oauth_applications.str