Skip to content

Commit

Permalink
change button style, lower header weight
Browse files Browse the repository at this point in the history
  • Loading branch information
crowesn committed Feb 1, 2017
1 parent 54a6e00 commit a68acdc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<% default_search_text = '' unless defined?(default_search_text) %>
<div class="options-to-connect-orcid-profile">
<p>
<a id="connect-orcid-link" href= <%=on_demand_url(current_user)%> class='btn btn-warning'><img id="orcid-id-logo" src="http://orcid.org/sites/default/files/images/orcid_16x16.png" width='16' height='16' alt="ORCID logo"/> Create or Connect your ORCID iD</a>
<a id="connect-orcid-link" href= <%=on_demand_url(current_user)%> class='btn btn-default'><img id="orcid-id-logo" src="http://orcid.org/sites/default/files/images/orcid_16x16.png" width='16' height='16' alt="ORCID logo"/> Create or Connect your ORCID iD</a>
</p>
</div>
4 changes: 2 additions & 2 deletions app/views/orcid/profile_connections/_orcid_connector.html.erb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<% defined?(status_processor) || status_processor = Orcid::ProfileStatus.method(:for) %>
<div class='orcid-connector'>
<h3>
<h4>
<%= link_to 'http://orcid.org' do %>
<%= image_tag 'http://orcid.org/sites/default/files/images/orcid_16x16.png', alt: 'ORCID logo',width: '16', height: '16' %>
<% end %>
<%= link_to t('orcid.verbose_name'), Orcid.provider.host_url %>
</h3>
</h4>
<% status_processor.call(current_user) do |on|%>
<% on.authenticated_connection do |profile| %>
<%= render partial: 'orcid/profile_connections/authenticated_connection', object: profile %>
Expand Down

0 comments on commit a68acdc

Please sign in to comment.