add back button to stage page (#7166)

This commit is contained in:
Lars Hvam 2025-03-25 15:06:59 +01:00 committed by GitHub
parent 90219ae271
commit 1557d8c295
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -878,8 +878,7 @@ CLASS ZCL_ABAPGIT_GUI_PAGE_STAGE IMPLEMENTATION.
ro_toolbar = zcl_abapgit_html_toolbar=>create( 'toolbar-staging' ).
IF lines( ms_files-local ) > 0
OR lines( ms_files-remote ) > 0.
IF lines( ms_files-local ) > 0 OR lines( ms_files-remote ) > 0.
ro_toolbar->add(
iv_txt = 'Refresh'
iv_act = |{ c_action-stage_refresh }|
@ -890,7 +889,10 @@ CLASS ZCL_ABAPGIT_GUI_PAGE_STAGE IMPLEMENTATION.
)->add(
iv_txt = |Patch|
iv_typ = zif_abapgit_html=>c_action_type-onclick
iv_id = |patchBtn| ).
iv_id = |patchBtn|
)->add(
iv_txt = |Back|
iv_act = zif_abapgit_definitions=>c_action-go_back ).
ENDIF.
ENDMETHOD.