aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/templates
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2022-07-21 20:00:59 +0000
committerChristopher Ng <chrng8@gmail.com>2022-08-26 23:49:27 +0000
commitd7821f8474be0146b9ac67d130f497bcb776ed9e (patch)
tree447ee1bff5623291a2b105cb190754c296eeb285 /apps/settings/templates
parenta1fae0532090c3f7223ce8243e3025dfafde07ce (diff)
downloadnextcloud-server-d7821f8474be0146b9ac67d130f497bcb776ed9e.tar.gz
nextcloud-server-d7821f8474be0146b9ac67d130f497bcb776ed9e.zip
Remake phone number property saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/settings/templates')
-rw-r--r--apps/settings/templates/settings/personal/personal.info.php15
1 files changed, 1 insertions, 14 deletions
diff --git a/apps/settings/templates/settings/personal/personal.info.php b/apps/settings/templates/settings/personal/personal.info.php
index b379400c14b..9c18ec71d4a 100644
--- a/apps/settings/templates/settings/personal/personal.info.php
+++ b/apps/settings/templates/settings/personal/personal.info.php
@@ -120,20 +120,7 @@ script('settings', [
<div id="vue-email-section"></div>
</div>
<div class="personal-settings-setting-box">
- <form id="phoneform" class="section">
- <h3>
- <label for="phone"><?php p($l->t('Phone number')); ?></label>
- <a href="#" class="federation-menu" aria-label="<?php p($l->t('Change privacy level of phone number')); ?>">
- <span class="icon-federation-menu icon-password">
- <span class="icon-triangle-s"></span>
- </span>
- </a>
- </h3>
- <input type="tel" id="phone" name="phone" value="<?php p($_['phone']) ?>" placeholder="<?php p($l->t('Your phone number')); ?>" autocomplete="on" autocapitalize="none" autocorrect="off" />
- <span class="icon-checkmark hidden"></span>
- <span class="icon-error hidden"></span>
- <input type="hidden" id="phonescope" value="<?php p($_['phoneScope']) ?>">
- </form>
+ <div id="vue-phone-section"></div>
</div>
<div class="personal-settings-setting-box">
<div id="vue-location-section"></div>