mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-26 15:05:39 +08:00
Added profile statistics data hook.
This commit is contained in:
parent
4c311c1664
commit
0fe5822825
1 changed files with 22 additions and 19 deletions
|
@ -178,8 +178,9 @@
|
|||
|
||||
</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 user-statistics">
|
||||
<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]) %>
|
||||
|
@ -198,6 +199,8 @@
|
|||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<span style="display: none;" data-hook="profile-statistics"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%= javascript_include_tag("canvas-to-blob.min") %>
|
||||
|
|
Loading…
Add table
Reference in a new issue