Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
ValUnifer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IPIPAN
ValUnifer
Commits
3c9e969b
Commit
3c9e969b
authored
Oct 24, 2023
by
dcz
Browse files
Options
Downloads
Patches
Plain Diff
Lexicografs can not change unified frame after switching to ready status.
parent
b5b25989
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
frontend/src/components/unification/Unification/LexicalUnitEdit.vue
+11
-8
11 additions, 8 deletions
...rc/components/unification/Unification/LexicalUnitEdit.vue
with
11 additions
and
8 deletions
frontend/src/components/unification/Unification/LexicalUnitEdit.vue
+
11
−
8
View file @
3c9e969b
...
...
@@ -1049,6 +1049,9 @@ Object.assign(LexicalUnitEdit, {
}
return
slowal_frame_stastuses
;
},
isReadOnly
()
{
return
this
.
readOnly
||
(
this
.
unified_frame
.
status
===
'
G
'
&&
!
this
.
isSuperLeksykograf
());
},
hideLexicalUnits
()
{
this
.
lexicalUnitsVisible
=
false
;
},
...
...
@@ -1187,7 +1190,7 @@ export default LexicalUnitEdit;
<
template
>
<div
class=
"col h-100 px-0 pt-0 pb-0 overflow-auto"
id=
"semantics-frames-pane"
>
<div
:id=
"'semantics-unified-frame-pane' + (readOnly ? '-preview' : '')"
class=
"col w-100 p-0 overflow-auto"
>
<table
v-if=
"!
r
eadOnly && !isReadOnlyForSuperLeksykograf()"
class=
"table-button-menu sticky-top"
cellspacing=
"1"
>
<table
v-if=
"!
isR
eadOnly
()
&& !isReadOnlyForSuperLeksykograf()"
class=
"table-button-menu sticky-top"
cellspacing=
"1"
>
<tr
style=
"background-color: white;"
>
<td
class=
"table-button-menu-td"
id=
"change-title"
@
click=
"changeTitle"
style=
"padding: 10px 15px 10px 15px; color: #000000;"
>
Zmień nazwę
</td>
<td
class=
"table-button-menu-td"
id=
"add-arg"
@
click=
"addArgument"
style=
"padding: 10px 15px 10px 15px; color: #000000;"
>
Dodaj argum.
</td>
...
...
@@ -1213,7 +1216,7 @@ export default LexicalUnitEdit;
</tr>
</table>
<table
v-if=
"!
r
eadOnly && isReadOnlyForSuperLeksykograf()"
class=
"table-button-menu sticky-top"
style=
"width: 100px;"
cellspacing=
"1"
>
<table
v-if=
"!
isR
eadOnly
()
&& isReadOnlyForSuperLeksykograf()"
class=
"table-button-menu sticky-top"
style=
"width: 100px;"
cellspacing=
"1"
>
<tr
style=
"background-color: white;"
>
<td
v-if=
"frames.length == 0 || isSuperLeksykograf()"
id=
"delete-frame-ro"
style=
"padding: 10px 15px 10px 15px; color: #000000;"
@
click=
"deleteUnifiedFrames"
>
Usuń ramę
</td>
</tr>
...
...
@@ -1327,7 +1330,7 @@ export default LexicalUnitEdit;
</div>
</div>
<div
:id=
"'semantics-slowal-frames-pane' + (readOnly ? '-preview' : '')"
class=
"col w-100 p-0 overflow-auto"
>
<table
v-if=
"!
r
eadOnly && unified_frame.id && !isReadOnlyForSuperLeksykograf()"
class=
"table-button-menu sticky-top"
cellspacing=
"1"
>
<table
v-if=
"!
isR
eadOnly
()
&& unified_frame.id && !isReadOnlyForSuperLeksykograf()"
class=
"table-button-menu sticky-top"
cellspacing=
"1"
>
<tr
style=
"background-color: white;"
>
<td
id=
"wrong-frame"
class=
"table-button-menu-td"
style=
"padding: 10px 15px 10px 15px; color: #000000;"
@
click=
"!this.isSuperLeksykograf() ? change_slowal_frame_status('B') : this.active_slowal_frame && this.active_slowal_frame.status === 'B' ? slowal_frame_status_change_with_confirmation('frame_confirm_invalid') : change_slowal_frame_status('B')"
>
{{createSlowalBadStatusButtonLabel()}}
</td>
<td
id=
"hide-slowal-frame"
style=
"padding: 10px 15px 10px 15px; color: #000000;"
>
...
...
@@ -1371,7 +1374,7 @@ export default LexicalUnitEdit;
@
meaning-lu-selected=
"meaningLuSelected"
></meaning-component>
</div>
<div
v-if=
"!
r
eadOnly && !isReadOnlyForSuperLeksykograf()"
class=
"col px-0"
style=
"
<div
v-if=
"!
isR
eadOnly
()
&& !isReadOnlyForSuperLeksykograf()"
class=
"col px-0"
style=
"
max-width: 15px;"
>
<div
class=
"close"
style=
"
width: 15px;
...
...
@@ -1397,7 +1400,7 @@ export default LexicalUnitEdit;
</div>
</div>
</div>
<div
v-if=
"!
r
eadOnly && !isReadOnlyForSuperLeksykograf()"
class=
"col pl-0 pt-4"
style=
"max-width: 60px;"
>
<div
v-if=
"!
isR
eadOnly
()
&& !isReadOnlyForSuperLeksykograf()"
class=
"col pl-0 pt-4"
style=
"max-width: 60px;"
>
<div
class=
"row"
></div>
<div
class=
"row"
>
<div
class=
"col"
>
...
...
@@ -1436,7 +1439,7 @@ export default LexicalUnitEdit;
/>
</div>
</div>
<div
v-if=
"!readOnly"
class=
"col h-100 px-1 pt-0 pb-0 overflow-auto"
style=
"padding-left: 0px!important; padding-right: 0px!important;"
id=
"semantics-schemata-pane"
>
<div
class=
"col h-100 px-1 pt-0 pb-0 overflow-auto"
style=
"padding-left: 0px!important; padding-right: 0px!important;"
id=
"semantics-schemata-pane"
>
<ul
class=
"nav nav-pills nav-justified p-1"
id=
"entryTabs"
role=
"tablist"
>
<li
v-for=
"tab in right_pane_tabs"
...
...
@@ -1459,7 +1462,7 @@ export default LexicalUnitEdit;
@
schemata-selected=
"schemataSelected"
/>
</div>
<div
v-if=
"right_pane_tab === 'frame_preview'"
class=
"overflow-hidden"
style=
"height: calc(100% - 43px)"
>
<div
v-if=
"
!isReadOnly() &&
right_pane_tab === 'frame_preview'"
class=
"overflow-hidden"
style=
"height: calc(100% - 43px)"
>
<unification-frame-preview
:key=
"currentPreviewedUnifiedFrameId"
:lexicalUnitEditComponent=
"LexicalUnitEdit"
...
...
@@ -1468,6 +1471,6 @@ export default LexicalUnitEdit;
@
change-preview-to-edit=
"swapUnifiedFrames"
:forceRefresh=
"internalForceRefresh"
/>
</div>
<div
:class=
"right_pane_tab !== 'notes' && 'd-none'"
id=
"notes-component"
></div>
<div
v-if=
"!isReadOnly()"
:class=
"right_pane_tab !== 'notes' && 'd-none'"
id=
"notes-component"
></div>
</div>
</template>
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