diff --git a/custom/modules/digital_serial/modules/digital_serial_page/src/Form/SerialPageViewerForm.php b/custom/modules/digital_serial/modules/digital_serial_page/src/Form/SerialPageViewerForm.php index 18254e86..8f091d6b 100644 --- a/custom/modules/digital_serial/modules/digital_serial_page/src/Form/SerialPageViewerForm.php +++ b/custom/modules/digital_serial/modules/digital_serial_page/src/Form/SerialPageViewerForm.php @@ -42,7 +42,7 @@ public function buildForm(array $form, FormStateInterface $form_state, SerialTit $prev_text = [ '#type' => 'html_tag', - '#tag' => 'span', + '#tag' => 'span', '#value' => $this->t('Previous'), '#attributes' => [ 'aria-label' => ['Show previous page'], @@ -51,10 +51,12 @@ public function buildForm(array $form, FormStateInterface $form_state, SerialTit $current_page = $digital_serial_page->getActivePagerNo(); $total_pages = $digital_serial_issue->getPageCount(); + $issue_missingp_note = $digital_serial_issue->getIssueMissingPages(); + $viewer_active_page_text = "Image $current_page of $total_pages"; $viewer_active_pager_item = [ '#type' => 'html_tag', - '#tag' => 'span', + '#tag' => 'span', "#value" => $viewer_active_page_text, "#attributes" => [ 'class' => [ @@ -68,7 +70,7 @@ public function buildForm(array $form, FormStateInterface $form_state, SerialTit $next_text = [ '#type' => 'html_tag', - '#tag' => 'span', + '#tag' => 'span', '#value' => $this->t('Next'), '#attributes' => [ 'aria-label' => ['Show next page'], @@ -88,6 +90,7 @@ public function buildForm(array $form, FormStateInterface $form_state, SerialTit $uri = "internal:/serials/browse/{$digital_serial_title->id()}"; $url = Url::fromUri($uri); } + $link_options = [ 'attributes' => [ 'class' => [