app/views/site/clients/show.html.erb in social_stream-oauth2_server-2.2.0 vs app/views/site/clients/show.html.erb in social_stream-oauth2_server-2.2.1
- old
+ new
@@ -9,11 +9,11 @@
<% if can?(:update, resource) %>
<%= link_to t('site.client.button.edit'), polymorphic_path(resource, action: 'edit'), class: "edit" %>
<% end %>
</h4>
- <%= image_tag('logos/app-default.png', class: "logo-app pull-right") %>
+ <%= image_tag(resource.logo.url(:medium), class: "logo-app pull-right") %>
</header>
<div class="content">
<div class="gereral-info">
@@ -83,33 +83,32 @@
</section>
<div class="tabbable"> <!-- Only required for left/right tabs -->
<ul class="nav nav-tabs">
<li class="active"><a href="#authorized" data-toggle="tab">Authorized</a></li>
- <li><a href="#registered" data-toggle="tab">Users</a></li>
</ul>
- <%= render partial: 'contacts/add_button',
- locals: {
- sender: resource,
- type: [ :user, :group ]
- }
- %>
-
+ <!--
<div class="btn-group" data-toggle="buttons">
<button type="radio" name="options" id="option1">user</button>
<button type="radio" name="options" id="option2"">organization</button>
</div>
<%= text_field_tag "contact-filter", "", placeholder: "filter", autocomplete: "off" %>
+ -->
<div class="tab-content">
<div class="tab-pane active" id="authorized">
+
+ <%= render partial: 'contacts/add_button',
+ locals: {
+ sender: resource,
+ type: [ :user, :group ]
+ }
+ %>
+
<%= render partial: 'contacts/contact',
collection: resource.sent_contacts.first(12) %>
- </div>
-
- <div class="tab-pane" id="registered">
</div>
</div>
</div>
<%= javascript_tag do %>