mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 21:21:50 +08:00
fix mobile view
This commit is contained in:
parent
d3ee7f546c
commit
607f1381d0
1 changed files with 21 additions and 19 deletions
|
@ -179,25 +179,27 @@
|
|||
</div>
|
||||
<div class="col-md-7 col-md-offset-1">
|
||||
<div class="row user-statistics">
|
||||
<h2><%=t "users.statistics.title" %></h2>
|
||||
<ul class="list-inline">
|
||||
<li class="label label-primary">
|
||||
<h2><%= @user.statistics[:number_of_teams]%></h2>
|
||||
<%= t("users.statistics.team").pluralize(@user.statistics[:number_of_teams]) %>
|
||||
</li>
|
||||
<li class="label label-primary">
|
||||
<h2><%= @user.statistics[:number_of_projects] %></h2>
|
||||
<%= t("users.statistics.project").pluralize(@user.statistics[:number_of_projects]) %>
|
||||
</li>
|
||||
<li class="label label-primary">
|
||||
<h2><%= @user.statistics[:number_of_experiments] %></h2>
|
||||
<%= t("users.statistics.experiment").pluralize(@user.statistics[:number_of_experiments]) %>
|
||||
</li>
|
||||
<li class="label label-primary">
|
||||
<h2><%= @user.statistics[:number_of_protocols] %></h2>
|
||||
<%= t("users.statistics.protocol").pluralize(@user.statistics[:number_of_protocols]) %>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="col-md-12">
|
||||
<h2><%=t "users.statistics.title" %></h2>
|
||||
<ul class="list-inline">
|
||||
<li class="label label-primary">
|
||||
<h2><%= @user.statistics[:number_of_teams]%></h2>
|
||||
<%= t("users.statistics.team").pluralize(@user.statistics[:number_of_teams]) %>
|
||||
</li>
|
||||
<li class="label label-primary">
|
||||
<h2><%= @user.statistics[:number_of_projects] %></h2>
|
||||
<%= t("users.statistics.project").pluralize(@user.statistics[:number_of_projects]) %>
|
||||
</li>
|
||||
<li class="label label-primary">
|
||||
<h2><%= @user.statistics[:number_of_experiments] %></h2>
|
||||
<%= t("users.statistics.experiment").pluralize(@user.statistics[:number_of_experiments]) %>
|
||||
</li>
|
||||
<li class="label label-primary">
|
||||
<h2><%= @user.statistics[:number_of_protocols] %></h2>
|
||||
<%= t("users.statistics.protocol").pluralize(@user.statistics[:number_of_protocols]) %>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<span style="display: none;" data-hook="profile-statistics"></span>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue