-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "feature 8783:Implement rich text links in custom forms (#8920)"
This reverts commit 5ae4b90.
- Loading branch information
Showing
15 changed files
with
74 additions
and
724 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 21 additions & 30 deletions
51
app/components/forms/wizard/custom-form-input-translation.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,25 @@ | ||
{{#if (eq @type "number")}} | ||
<div class="rich-text-type-number" > | ||
<Widgets::Forms::RichTextLink | ||
@value={{@data.name}}/> | ||
{{#if (not-eq @type "number")}} | ||
<div style="width: 30%"> | ||
<Input type="text" placeholder={{t "Field Name"}} @value={{@data.name}}/> | ||
</div> | ||
{{else}} | ||
<div class="rich-text-other" > | ||
<Widgets::Forms::RichTextLink | ||
@value={{@data.name}}/> | ||
<div style="width: 20%"> | ||
<Input type="text" placeholder={{t "Field Name"}} @value={{@data.name}}/> | ||
</div> | ||
{{/if}} | ||
<div style="width: 11rem"> | ||
<div class="ui hidden divider wrapper-button"></div> | ||
<UiDropdown class="ui selection dropdown custom-form-dropdown-attendee" | ||
@selected={{@data.selectedLang}} | ||
@onChange={{action 'onChangeLanguage'}} | ||
style="line-height: inherit; min-width: 11rem;"> | ||
<div class="default text"> | ||
{{ @data.selectedLang }} | ||
</div> | ||
<i class="dropdown icon"></i> | ||
<div class="menu"> | ||
{{#each this.languageList as |language|}} | ||
<div class="item" data-value={{language.code}}>{{language.name}}</div> | ||
{{/each}} | ||
</div> | ||
</UiDropdown> | ||
</div> | ||
<div> | ||
<div class="ui hidden divider wrapper-button"></div> | ||
<button class="ui compact icon negative button btn-delele-lang" data-tooltip="{{t 'Delete'}}" {{action (confirm (t "Are you sure you want to delete this?") (action 'onRemoveForm' ))}}> | ||
<i class="trash box icon"></i> | ||
</button> | ||
</div> | ||
<UiDropdown class="ui selection dropdown custom-form-dropdown-attendee" | ||
@selected={{@data.selectedLang}} | ||
@onChange={{action 'onChangeLanguage' }}> | ||
<div class="default text"> | ||
{{ @data.selectedLang }} | ||
</div> | ||
<i class="dropdown icon"></i> | ||
<div class="menu"> | ||
{{#each this.languageList as |language|}} | ||
<div class="item" data-value={{language.code}}>{{language.name}}</div> | ||
{{/each}} | ||
</div> | ||
</UiDropdown> | ||
<button style="font-size: 1.1em;" class="ui compact icon negative circular button" data-tooltip="{{t 'Delete'}}" {{action (confirm (t "Are you sure you want to delete this?") (action 'onRemoveForm' ))}}> | ||
<i class="trash box icon"></i> | ||
</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
a38d5b6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
open-event-frontend – ./
open-event-frontend-git-development-eventyay.vercel.app
open-event-frontend-eventyay.vercel.app
open-event-frontend.vercel.app