Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

users & focus search

  • Loading branch information...
commit f68ea1f1ea056ba9e4d76a4667b394cbb94ef44b 1 parent 4f74048
Diego Carrera diegocarrera authored
2  app/views/documents/_document_with_details.html.erb
View
@@ -2,7 +2,7 @@
<div class="span2 pagination-centered link_white">
<%= link_to "", document, :class => icon_class_for(document), :alt => document.title %>
</div>
- <div class=" link_white">
+ <div class="span10 link_white">
<h4><%= link_to truncate_name(document.title, :length => 40), document %></h4>
<h5><%=document.visit_count.to_s%> views</h5>
</div>
2  app/views/excursions/_excursion_focus_search.html.erb
View
@@ -6,7 +6,7 @@
</li>
<li class="span2">
<div class="caption ">
- <h5><span class="size14"><%= link_to truncate_name(excursion.title, :length => 30), excursion %></span></h5>
+ <h5><span class="size14"><%= link_to truncate_name(excursion.title, :length => 25), excursion %></span></h5>
<h5 class="blue-opacity"><span class="size12"><%=t "#{excursion.class.name.underscore}.one" %></span></h5>
<h5 class="blue-opacity"><span class="size11">by <%=link_to( truncate_name(excursion.author.name, :length => 20), excursion.author.subject)%></span></h5>
<h5><span class="dark-gray"><%=excursion.visit_count.to_s%></span> views </h5>
11 app/views/subjects/_subject_focus_search.html.erb
View
@@ -1,14 +1,17 @@
-<div class="model_with_details span3 box-result">
+<div class="model_with_details span3 box-result users_btn_follow">
<ul class="thumbnails">
<li class="span1 margin-clear">
<%= link_to(image_tag(subject.logo.url(:profile)), subject, :class => "container") %>
</li>
<li class="span2">
<div class="caption">
- <h4><span class="size16"><%= link_to truncate_name(subject.name, :length => 40), subject %></span></h4>
+ <h4><span class="size14"><%= link_to truncate_name(subject.name, :length => 40), subject %></span></h4>
<h5><%=t('follow.followers')%>: <span class="dark-gray"><%=subject.follower_count%></span></h5>
- <div class="size12 link_pink"><%=contact_to(subject) %></div>
+ <div class="follwrs-ing">
+ <div class="follwrs upfoll"><%=subject.followers.count %> <%= t('follow.followers') %></div>
+ </div>
+ <div class="send_messag size10 red-2 upfoll"><%=contact_to(subject) %></div>
</div>
</li>
</ul>
-</div>
+</div>
Please sign in to comment.
Something went wrong with that request. Please try again.