From cefdc01f0fceeb4622d7545564e076345ec8f9b7 Mon Sep 17 00:00:00 2001 From: Fabio Teixeira Date: Tue, 22 Jul 2014 16:45:28 -0300 Subject: [PATCH] incomplete_registration: Displaying empty fields to be filled --- public/style.css | 22 +++++++++++++++++++++- views/mpog_software_plugin_myprofile/_incomplete_registration.html.erb | 37 +++++++++++++++++++++++++------------ 2 files changed, 46 insertions(+), 13 deletions(-) diff --git a/public/style.css b/public/style.css index 0075970..3ed408a 100644 --- a/public/style.css +++ b/public/style.css @@ -112,4 +112,24 @@ } .formfieldline input[type="text"] { width: 180px; -} \ No newline at end of file +} + +#incomplete_registration { + position: relative; + border: solid 2px #000; + padding: 5px; +} + +#incomplete_percentage { + text-align: center; + margin-bottom: 15px; + font-size: 18px; +} + +#profile_empty_fields span { + margin-left: 15px; +} + +#profile_links table tr td { + text-align: center; +} diff --git a/views/mpog_software_plugin_myprofile/_incomplete_registration.html.erb b/views/mpog_software_plugin_myprofile/_incomplete_registration.html.erb index 8e25fbb..b513ed4 100644 --- a/views/mpog_software_plugin_myprofile/_incomplete_registration.html.erb +++ b/views/mpog_software_plugin_myprofile/_incomplete_registration.html.erb @@ -1,16 +1,29 @@
- <%= _("Incomplete registration percentage") %>: <%= @percentege %>% +
+ <%= _("Incomplete registration percentage")+":#{@percentege}%" %> +
-
- List with fields to be filled: -
    - <% @profile_empty_fields.each do |field|%> -
  • - <%= field %> -
  • - <% end %> -
-
+
+ <%= _("List with fields to be filled")+":" %> +
    + <% @profile_empty_fields.each do |field|%> +
  • + <%= field %> +
  • + <% end %> +
+
-<%= @profile_edit_link %> +
-- libgit2 0.21.2