Cleanup of the settings pages.

This commit is contained in:
Adrian Winterstein 2024-09-28 16:23:08 +02:00
parent 1b9743f301
commit 0d691da0f1
No known key found for this signature in database
GPG key ID: EDBA4B9F8D8E37AE
4 changed files with 5 additions and 32 deletions

View file

@ -25,7 +25,7 @@
</tr>
</table>
<h2 v-once>
<!--<h2 v-once>
{{ $t('loginMethods') }}
</h2>
@ -35,7 +35,7 @@
<td colspan="3">
</td>
</tr>
</table>
</table>-->
<h2 v-once>
{{ $t('site') }}
@ -97,7 +97,7 @@ import DayStartAdjustmentSetting from './settingRows/dayStartAdjustmentSetting.v
import AudioThemeSetting from '@/pages/settings/settingRows/audioThemeSetting.vue';
import ClassSetting from '@/pages/settings/settingRows/classSetting.vue';
import FixValuesSetting from '@/pages/settings/settingRows/fixValuesSetting.vue';
import LoginMethods from '@/pages/settings/settingRows/loginMethods.vue';
// import LoginMethods from '@/pages/settings/settingRows/loginMethods.vue';
import { GenericUserPreferencesMixin } from '@/pages/settings/components/genericUserPreferencesMixin';
import { mapState } from '@/libs/store';
import SleepMode from '@/pages/settings/settingRows/sleepMode.vue';
@ -105,7 +105,7 @@ import SleepMode from '@/pages/settings/settingRows/sleepMode.vue';
export default {
components: {
SleepMode,
LoginMethods,
// LoginMethods,
FixValuesSetting,
ClassSetting,
AudioThemeSetting,

View file

@ -106,29 +106,6 @@
/>
</td>
</tr>
<tr>
<td
v-once
class="bold"
>
{{ $t('baileyAnnouncement') }}
</td>
<td class="email_push_col show_bailey_col">
<b-popover
target="viewBaileyLink"
triggers="hover"
placement="right"
:content="$t('showBaileyPop')"
/>
<a
id="viewBaileyLink"
class="show_bailey_link"
@click="showBailey()"
>
{{ $t('view') }}
</a>
</td>
</tr>
<tr>
<td></td>
<td></td>

View file

@ -34,7 +34,6 @@
class="dialog-disclaimer"
>
<span>{{ $t("americanEnglishGovern") }} </span>
<span v-html="$t('helpWithTranslation')"></span>
</div>
<div class="input-area">
<div class="settings-label">

View file

@ -21,10 +21,7 @@ export const CHAT_FLAG_FROM_MOD = 5; // a flag from a moderator counts as this m
export const CHAT_FLAG_FROM_SHADOW_MUTE = 10;
// @TODO use those constants to replace hard-coded numbers
export const SUPPORTED_SOCIAL_NETWORKS = [
{ key: 'apple', name: 'Apple' },
{ key: 'google', name: 'Google' },
];
export const SUPPORTED_SOCIAL_NETWORKS = [];
export const GUILDS_PER_PAGE = 30; // number of guilds to return per page when using pagination