Skip to content

Commit

Permalink
Update Dokuwiki configuration message and URL display
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl committed Mar 14, 2024
1 parent 464be9c commit d02b5da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ui/public/i18n/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"disabled": "Disabled",
"instance_configuration": "Configure {instance}",
"configuring": "Configuring...",
"cannot_be_configured_again": "This instance cannot be configured anymore here",
"must_be_configured_inside_dokuwiki": "The admin user and settings must be configured inside DokuWiki",
"dokuwiki_note": "Note",
"must_be_configured_inside_dokuwiki": "You can configure only Dokuwiki FQDN in this page. To configure other setting go to {dokuwiki}",
"email_format": "Invalid email address"
},
"about": {
Expand Down
5 changes: 3 additions & 2 deletions ui/src/views/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
<div class="bx--col">
<NsInlineNotification
kind="info"
:title="$t('settings.cannot_be_configured_again')"
:description="$t('settings.must_be_configured_inside_dokuwiki')"
:title="$t('settings.dokuwiki_note')"
:description="$t('settings.must_be_configured_inside_dokuwiki', {dokuwiki: dokuwiki_url})"
:showCloseButton="false"
/>
</div>
Expand Down Expand Up @@ -162,6 +162,7 @@ export default {
page: "settings",
},
urlCheckInterval: null,
dokuwiki_url: "<a href='https://'"+this.hosts+" target=_blank'>"+this.host+"</a>",
already_set: false,
wikiName: "",
username: "",
Expand Down

0 comments on commit d02b5da

Please sign in to comment.