From 607f1381d04b9e333aabf08f5f2149ef1e282b55 Mon Sep 17 00:00:00 2001 From: Mojca Lorber Date: Tue, 15 Nov 2016 10:58:15 +0100 Subject: [PATCH] fix mobile view --- app/views/users/registrations/edit.html.erb | 40 +++++++++++---------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/app/views/users/registrations/edit.html.erb b/app/views/users/registrations/edit.html.erb index b9b0d987d..07945f065 100644 --- a/app/views/users/registrations/edit.html.erb +++ b/app/views/users/registrations/edit.html.erb @@ -179,25 +179,27 @@
-

<%=t "users.statistics.title" %>

-
    -
  • -

    <%= @user.statistics[:number_of_teams]%>

    - <%= t("users.statistics.team").pluralize(@user.statistics[:number_of_teams]) %> -
  • -
  • -

    <%= @user.statistics[:number_of_projects] %>

    - <%= t("users.statistics.project").pluralize(@user.statistics[:number_of_projects]) %> -
  • -
  • -

    <%= @user.statistics[:number_of_experiments] %>

    - <%= t("users.statistics.experiment").pluralize(@user.statistics[:number_of_experiments]) %> -
  • -
  • -

    <%= @user.statistics[:number_of_protocols] %>

    - <%= t("users.statistics.protocol").pluralize(@user.statistics[:number_of_protocols]) %> -
  • -
+
+

<%=t "users.statistics.title" %>

+
    +
  • +

    <%= @user.statistics[:number_of_teams]%>

    + <%= t("users.statistics.team").pluralize(@user.statistics[:number_of_teams]) %> +
  • +
  • +

    <%= @user.statistics[:number_of_projects] %>

    + <%= t("users.statistics.project").pluralize(@user.statistics[:number_of_projects]) %> +
  • +
  • +

    <%= @user.statistics[:number_of_experiments] %>

    + <%= t("users.statistics.experiment").pluralize(@user.statistics[:number_of_experiments]) %> +
  • +
  • +

    <%= @user.statistics[:number_of_protocols] %>

    + <%= t("users.statistics.protocol").pluralize(@user.statistics[:number_of_protocols]) %> +
  • +
+