mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
Repo View: Shorten URL display (#6555)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
This commit is contained in:
parent
05b8f90520
commit
c13108d73c
|
@ -1091,10 +1091,7 @@ CLASS zcl_abapgit_gui_chunk_lib IMPLEMENTATION.
|
||||||
IF io_repo->is_offline( ) = abap_false.
|
IF io_repo->is_offline( ) = abap_false.
|
||||||
lo_repo_online ?= io_repo.
|
lo_repo_online ?= io_repo.
|
||||||
|
|
||||||
ri_html->add_a( iv_txt = lo_repo_online->get_url( )
|
ri_html->add( render_repo_url( lo_repo_online->get_url( ) ) ).
|
||||||
iv_act = |{ zif_abapgit_definitions=>c_action-url }?url=|
|
|
||||||
&& |{ lo_repo_online->get_url( ) }|
|
|
||||||
iv_class = |url| ).
|
|
||||||
ENDIF.
|
ENDIF.
|
||||||
|
|
||||||
IF iv_show_edit = abap_true.
|
IF iv_show_edit = abap_true.
|
||||||
|
@ -1226,7 +1223,8 @@ CLASS zcl_abapgit_gui_chunk_lib IMPLEMENTATION.
|
||||||
ri_html = zcl_abapgit_html=>create( )->add_a(
|
ri_html = zcl_abapgit_html=>create( )->add_a(
|
||||||
iv_txt = shorten_repo_url( iv_url )
|
iv_txt = shorten_repo_url( iv_url )
|
||||||
iv_title = iv_url
|
iv_title = iv_url
|
||||||
iv_act = |{ zif_abapgit_definitions=>c_action-url }?url={ iv_url }| ).
|
iv_act = |{ zif_abapgit_definitions=>c_action-url }?url={ iv_url }|
|
||||||
|
iv_class = 'url' ).
|
||||||
|
|
||||||
IF iv_render_remote_edit_for_key IS NOT INITIAL.
|
IF iv_render_remote_edit_for_key IS NOT INITIAL.
|
||||||
ri_html->add_a(
|
ri_html->add_a(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user