Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
funkwhale_OLD
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jovuit
funkwhale_OLD
Commits
2420ba8a
Verified
Commit
2420ba8a
authored
6 years ago
by
Eliot Berriot
Browse files
Options
Downloads
Patches
Plain Diff
Fix #410: Hide invitation code field during signup when it's not required
parent
be46fb0e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changes/changelog.d/410.enhancement
+1
-0
1 addition, 0 deletions
changes/changelog.d/410.enhancement
front/src/components/auth/Signup.vue
+3
-4
3 additions, 4 deletions
front/src/components/auth/Signup.vue
with
4 additions
and
4 deletions
changes/changelog.d/410.enhancement
0 → 100644
+
1
−
0
View file @
2420ba8a
Hide invitation code field during signup when it's not required (#410)
This diff is collapsed.
Click to expand it.
front/src/components/auth/Signup.vue
+
3
−
4
View file @
2420ba8a
...
...
@@ -39,11 +39,10 @@
<label><translate>
Password
</translate></label>
<password-input
v-model=
"password"
/>
</div>
<div
class=
"field"
>
<label
v-if=
"!$store.state.instance.settings.users.registration_enabled.value"
><translate>
Invitation code
</translate></label>
<label
v-else
><translate>
Invitation code (optional)
</translate></label>
<div
class=
"field"
v-if=
"!$store.state.instance.settings.users.registration_enabled.value"
>
<label><translate>
Invitation code
</translate></label>
<input
:
required
=
"!$store.state.instance.settings.users.registration_enabled.value"
required
type=
"text"
:placeholder=
"labels.placeholder"
v-model=
"invitation"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment