Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/ADF-1782/Implement the UI for the list of translations #4101

Merged
merged 16 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion views/css/auth-selector.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion views/css/error-page.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion views/css/layout.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion views/css/tao-3.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion views/css/tao-3.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion views/css/tao-main-style.css.map

Large diffs are not rendered by default.

26 changes: 26 additions & 0 deletions views/js/form/tpl/translation.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<div class="translations-container flex-container-full">
<header class="section-header flex-container-full">
<h2>{{__ 'Translations'}}</h2>
{{#if languages}}
<div class="translations-create">
<label>{{__ 'Language'}}
<select name="language" data-control="select">
<option value="">--- {{__ 'select'}} ---</option>
{{#each languages}}
<option value="{{uri}}">{{label}}</option>
{{/each}}
</select>
</label>
<button class="btn-info small" data-control="create"><span class="icon-replace"></span> {{__ 'Create
translation'}}</button>
</div>
{{/if}}
</header>
{{#if ready}}
<div class="translations-list"></div>
{{else}}
<div class="translations-not-ready">
<p>{{__ 'This resource is not ready for translation.'}}</p>
</div>
{{/if}}
</div>
Loading