Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove profile toggle #4448

Merged
merged 9 commits into from
Mar 5, 2019
2 changes: 0 additions & 2 deletions lib/client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1077,8 +1077,6 @@ client.load = function load(serverSettings, callback) {
$('.foodcontrol').toggle(client.settings.enable.indexOf('food') > -1);
// hide cob control if not enabled
$('.cobcontrol').toggle(client.settings.enable.indexOf('cob') > -1);
// hide profile controls if not enabled
$('.profilecontrol').toggle(client.settings.enable.indexOf('profile') > -1);
container.toggleClass('has-minor-pills', client.plugins.hasShownType('pill-minor', client.settings));

function prepareEntries ( ) {
Expand Down
2 changes: 1 addition & 1 deletion views/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
<form id="settings-form" role="form" >
<ul class="navigation" role="navigation" aria-label="Settings">
<li><a href="report" target="reports" class="translate">Reports</a></li>
<li class="profilecontrol"><a id="editprofilelink" href="profile" target="profileeditor" class="translate">Profile Editor</a></li>
<li><a id="editprofilelink" href="profile" target="profileeditor" class="translate">Profile Editor</a></li>
<li class="foodcontrol"><a id="editfoodlink" href="food" target="foodeditor" class="translate">Food Editor</a></li>
<li><a id="admintoolslink" href="admin" target="admintools" class="translate">Admin Tools</a></li>
<li class="multilink">
Expand Down