Merge pull request #6204 from svbergerem/fix-profile-visibility-icon
Fix profile visibility icon
This commit is contained in:
commit
00fc14e265
3 changed files with 5 additions and 5 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
app.pages.Settings = Backbone.View.extend({
|
app.pages.Settings = Backbone.View.extend({
|
||||||
initialize: function() {
|
initialize: function() {
|
||||||
$(".settings_visibility").tooltip({placement: "top"});
|
$(".settings_visibility").tooltip({placement: "top"});
|
||||||
|
$(".profile-visibility-hint").tooltip({placement: "top"});
|
||||||
$("[name='profile[public_details]']").bootstrapSwitch();
|
$("[name='profile[public_details]']").bootstrapSwitch();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -150,7 +150,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#update_profile_form {
|
#update_profile_form {
|
||||||
.visibility-hint-icon {
|
.profile-visibility-hint { margin-left: 10px; }
|
||||||
cursor: pointer;
|
.visibility-hint-icon { cursor: default; }
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,8 @@
|
||||||
= t("profiles.edit.extended")
|
= t("profiles.edit.extended")
|
||||||
= t("profiles.edit.extended_visibility_text")
|
= t("profiles.edit.extended_visibility_text")
|
||||||
= check_box_tag "profile[public_details]", true, profile.public_details, {"data-size" => "mini", "data-on-text" => t("profiles.edit.public"), "data-off-text" => t("profiles.edit.limited")}
|
= check_box_tag "profile[public_details]", true, profile.public_details, {"data-size" => "mini", "data-on-text" => t("profiles.edit.public"), "data-off-text" => t("profiles.edit.limited")}
|
||||||
%span{ :title => t("profiles.edit.extended_hint") }
|
%span.profile-visibility-hint{ title: t("profiles.edit.extended_hint") }
|
||||||
%i.entypo.circled-help.visibility-hint-icon
|
%i.entypo-circled-help.visibility-hint-icon
|
||||||
.small-horizontal-spacer
|
.small-horizontal-spacer
|
||||||
|
|
||||||
%h4= t('profiles.edit.your_bio')
|
%h4= t('profiles.edit.your_bio')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue