Skip to content

Commit f426c59

Browse files
committed
zotero: remove zotero API key textbox
COOL is now capable of handling and storing zotero key This PR only removes the textbox because the actual zotero key will be reused and transferred to COOL removing all the zotero fields will require user to reenter the key relevant COOL PRs: CollaboraOnline/online#12694 CollaboraOnline/online#13091 Signed-off-by: Pranam Lashkari <[email protected]>
1 parent 8178619 commit f426c59

File tree

1 file changed

+0
-41
lines changed

1 file changed

+0
-41
lines changed

src/components/PersonalSettings.vue

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -34,47 +34,6 @@
3434
</em>
3535
</p>
3636

37-
<!-- Zotero -->
38-
<div class="zotero-section">
39-
<p><strong>{{ t('richdocuments', 'Zotero') }}</strong></p>
40-
<template v-if="hasZoteroSupport">
41-
<div class="input-wrapper">
42-
<div class="zotero-inline">
43-
<div class="zotero-input-wrapper">
44-
<NcTextField id="zoteroAPIKeyField"
45-
:value="zoteroAPIKey"
46-
:label="t('richdocuments', 'Enter Zotero API Key')"
47-
@update:value="setZoteroAPIKey" />
48-
</div>
49-
<NcButton id="zoteroAPIKeySave"
50-
type="secondary"
51-
@click="saveZoteroAPIKey">
52-
{{ t('richdocuments', 'Save') }}
53-
</NcButton>
54-
<NcButton id="zoteroAPIKeyRemove"
55-
type="secondary"
56-
:title="t('richdocuments', 'Remove Zotero API Key')"
57-
@click="resetZoteroAPI">
58-
<DeleteIcon :size="20" />
59-
</NcButton>
60-
</div>
61-
<p>
62-
<em>
63-
{{ t('richdocuments', 'To use Zotero specify your API key here. You can create your API key in your') }}
64-
<a href="https://www.zotero.org/settings/keys" target="_blank">
65-
{{ t('richdocuments', 'Zotero account API settings.') }}
66-
</a>
67-
</em>
68-
</p>
69-
</div>
70-
</template>
71-
<p v-else>
72-
<em>
73-
{{ t('richdocuments', 'This instance does not support Zotero, because the feature is missing or disabled. Please contact the administration.') }}
74-
</em>
75-
</p>
76-
</div>
77-
7837
<!-- Document signing -->
7938
<div class="docsign-section">
8039
<p class="doc_sign_head">

0 commit comments

Comments
 (0)