LP#1830923: do not show Enhanced MARC editor tab when editing in-place
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 4 Dec 2019 22:41:38 +0000 (17:41 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 6 Dec 2019 15:15:51 +0000 (10:15 -0500)
As the the AngularJS side does not currently offer a path
for directly editing a queued record, the enhancd editor tab
serves no purpose in this context.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor.component.html

index 0489ddd..55c5af6 100644 (file)
@@ -41,7 +41,7 @@
 <div class="row">
   <div class="col-lg-12">
     <ngb-tabset [activeId]="editorTab">
-      <ngb-tab title="Enhanced MARC Editor" i18n-title id="rich">
+      <ngb-tab title="Enhanced MARC Editor" i18n-title id="rich" *ngIf="!inPlaceMode">
         <ng-template ngbTabContent>
           <div class="alert alert-info mt-3" i18n>
           Enhanced MARC Editor is not yet implemented.  See the