mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-14 19:04:21 +08:00
Merge pull request #268 from mz3944/mz_add_profile_statistics_data_hook_SCI_567
Added profile statistics data hook.
This commit is contained in:
commit
12d1c31651
1 changed files with 22 additions and 19 deletions
|
@ -178,8 +178,9 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-7 col-md-offset-1">
|
<div class="col-md-7 col-md-offset-1">
|
||||||
|
<div class="row user-statistics">
|
||||||
<h2><%=t "users.statistics.title" %></h2>
|
<h2><%=t "users.statistics.title" %></h2>
|
||||||
<ul class="list-inline user-statistics">
|
<ul class="list-inline">
|
||||||
<li class="label label-primary">
|
<li class="label label-primary">
|
||||||
<h2><%= @user.statistics[:number_of_teams]%></h2>
|
<h2><%= @user.statistics[:number_of_teams]%></h2>
|
||||||
<%= t("users.statistics.team").pluralize(@user.statistics[:number_of_teams]) %>
|
<%= t("users.statistics.team").pluralize(@user.statistics[:number_of_teams]) %>
|
||||||
|
@ -198,6 +199,8 @@
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<span style="display: none;" data-hook="profile-statistics"></span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%= javascript_include_tag("canvas-to-blob.min") %>
|
<%= javascript_include_tag("canvas-to-blob.min") %>
|
||||||
|
|
Loading…
Reference in a new issue