From 4058476b88cb9baa292bf73bf04bcdaa35b01fcf Mon Sep 17 00:00:00 2001 From: Josh Stegmaier <104993387+joshuastegmaier@users.noreply.github.com> Date: Tue, 3 Oct 2023 06:38:11 -0400 Subject: [PATCH] Moved and changed styling of OCR button (#2116) --- .../transcriptions/asset_detail.html | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/concordia/templates/transcriptions/asset_detail.html b/concordia/templates/transcriptions/asset_detail.html index ebc9ba7af..2a1f19bd0 100644 --- a/concordia/templates/transcriptions/asset_detail.html +++ b/concordia/templates/transcriptions/asset_detail.html @@ -360,6 +360,17 @@
Why does By the People have this feature?
+ {% if transcription_status == "not_started" or transcription_status == "in_progress" %} + + {% endif %}
@@ -513,15 +524,6 @@

- {% if transcription_status == "not_started" or transcription_status == "in_progress" %} - - {% endif %}
Share this item: {% share_buttons current_asset_url asset.item.title %}
@@ -885,7 +887,6 @@ let ocrSection = document.getElementById("ocr-section"); let editorColumn = document.getElementById("editor-column"); let viewerColumn = document.getElementById("viewer-column"); - let helpContainer = document.getElementById("help-container"); let layoutColumns = ["#viewer-column", "#editor-column"]; let verticalKey = 'transcription-split-sizes-vertical'; let horizontalKey = 'transcription-split-sizes-horizontal'; @@ -965,7 +966,7 @@ contributeContainer.classList.add("flex-row"); viewerColumn.classList.add("h-100"); if(ocrSection != null){ - helpContainer.prepend(ocrSection); + viewerColumn.append(ocrSection); } return Split(layoutColumns, { sizes: sizesHorizontal,