mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 03:36:32 +08:00
add back button to stage page (#7166)
This commit is contained in:
parent
90219ae271
commit
1557d8c295
|
@ -878,8 +878,7 @@ CLASS ZCL_ABAPGIT_GUI_PAGE_STAGE IMPLEMENTATION.
|
||||||
|
|
||||||
ro_toolbar = zcl_abapgit_html_toolbar=>create( 'toolbar-staging' ).
|
ro_toolbar = zcl_abapgit_html_toolbar=>create( 'toolbar-staging' ).
|
||||||
|
|
||||||
IF lines( ms_files-local ) > 0
|
IF lines( ms_files-local ) > 0 OR lines( ms_files-remote ) > 0.
|
||||||
OR lines( ms_files-remote ) > 0.
|
|
||||||
ro_toolbar->add(
|
ro_toolbar->add(
|
||||||
iv_txt = 'Refresh'
|
iv_txt = 'Refresh'
|
||||||
iv_act = |{ c_action-stage_refresh }|
|
iv_act = |{ c_action-stage_refresh }|
|
||||||
|
@ -890,7 +889,10 @@ CLASS ZCL_ABAPGIT_GUI_PAGE_STAGE IMPLEMENTATION.
|
||||||
)->add(
|
)->add(
|
||||||
iv_txt = |Patch|
|
iv_txt = |Patch|
|
||||||
iv_typ = zif_abapgit_html=>c_action_type-onclick
|
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.
|
ENDIF.
|
||||||
|
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user