app/views/users/_user_info.html.erb in sufia-4.0.0.beta3 vs app/views/users/_user_info.html.erb in sufia-4.0.0.beta4
- old
+ new
@@ -51,9 +51,9 @@
<dd class="col-xs-7"><%= user.affiliation.titleize %></dd>
<% end %>
<% if user.telephone %>
<dt class="col-xs-5"><i class="glyphicon glyphicon-phone"></i> Telephone</dt>
- <dd class="col-xs-7"><%= link_to user.telephone, "wtai://wp/mc;#{user.telephone}" %><%# user.telephone %></dd>
+ <dd class="col-xs-7"><%= link_to_telephone(user) %></dd>
<% end %>
</dl>