Commit 9dda8ae7cb28210e603abeac52ae15c4528a085d
1 parent
9aa9bc85
Exists in
master
and in
5 other branches
Change Primary fields header for user, rename tabs
Signed-off-by: Gabriela Navarro <navarro1703@gmail.com> Signed-off-by: Gustavo Jaruga <darksshades@gmail.com>
Showing
2 changed files
with
3 additions
and
1 deletions
Show diff stats
lib/mpog_software_plugin.rb
... | ... | @@ -177,7 +177,7 @@ class MpogSoftwarePlugin < Noosfero::Plugin |
177 | 177 | |
178 | 178 | def profile_tabs |
179 | 179 | if context.profile.person? |
180 | - { :title => _("Mpog"), | |
180 | + { :title => _("Secundary Information"), | |
181 | 181 | :id => 'mpog-fields', |
182 | 182 | :content => Proc::new do render :partial => 'profile_tab' end, |
183 | 183 | :start => true } | ... | ... |
public/mpog-user-validations.js
... | ... | @@ -323,6 +323,8 @@ |
323 | 323 | function get_edit_fields_in_insertion_order() { |
324 | 324 | var containers = []; |
325 | 325 | |
326 | + try_to_remove(containers, jQuery("h2")[0]); | |
327 | + try_to_remove(containers, jQuery(".pseudoformlabel").parent().parent()); | |
326 | 328 | try_to_remove(containers, get_privacy_selector_parent_div("#profile_data_name")); |
327 | 329 | try_to_remove(containers, get_privacy_selector_parent_div("#profile_data_email")); |
328 | 330 | try_to_remove(containers, jQuery("#user_secondary_email").parent().parent()); | ... | ... |