Sha256: 0ad007da712f22377a3e386549db146e152f5f669732eb0d28415a6b58e1e4ee

Contents?: true

Size: 1.77 KB

Versions: 5

Compression:

Stored size: 1.77 KB

Contents

<div class="show-registrations" ng-controller="registrationsController">
  <p id="notice"><%= notice %></p>

  <h3>
    Registration Info
  </h3>

  <p>
    <strong>Server:</strong>
    <%= @bjond_registration.server %>
  </p>

  <p>
    <strong>Host:</strong>
    <%= @bjond_registration.host %>
  </p>

  <p>
    <strong>IP:</strong>
    <%= @bjond_registration.ip %>
  </p>


  <%- if (@bjond_registration.encrypted_encryption_key) %>
    <div class="encryption-key-found">
      <p>
        <strong>Encryption Key (encrypted):</strong>
        <%= @bjond_registration.encrypted_encryption_key %>
      </p>
    </div>
  <% else %>
    <p class="not-found">
      Please log in to the Bjond server and locate the encryption key. You must be a tenant administratior. You will find this information on the 'Develop' tab of the system settings. Once you find this information, <%= link_to 'add it here', edit_bjond_registration_path(@bjond_registration) %>.
    </p>

  <% end %>

  <p>
    <strong>ID:</strong>
    <%= @bjond_registration.id %>
  </p>


  <button class="btn register" ng-click="register(<%= @bjond_registration.id %>)">
    Update Registration
  </button>
  </br>
  <%= link_to 'Edit', edit_bjond_registration_path(@bjond_registration) %> |
  <%= link_to 'Back', bjond_registrations_path %>


  <%- if @services.count > 0 %>
    <h3>
      Bjond Services associated with this Registration
    </h3>

    <%- @services.each do |service| %>
      <div class="bjond-service">
        <p>
          <strong>ID:</strong>
          <%= service.id %>
        </p>
        <p>
          <strong>Group ID:</strong>
          <%= service.group_id %>
        </p>

        <p>
          <strong>Endpoint:</strong>
          <%= service.endpoint %>
        </p>

      </div>
    <% end %>
  <% end %>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bjond-api-0.3.6 app/views/bjond_registrations/show.html.erb
bjond-api-0.3.5 app/views/bjond_registrations/show.html.erb
bjond-api-0.3.4 app/views/bjond_registrations/show.html.erb
bjond-api-0.3.3 app/views/bjond_registrations/show.html.erb
bjond-api-0.3.2 app/views/bjond_registrations/show.html.erb