mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 20:03:20 +08:00
Add debug option to show href-links on hover (#6239)
This commit is contained in:
parent
39d2e88be3
commit
d23fdfd233
|
@ -289,6 +289,7 @@ CLASS zcl_abapgit_html IMPLEMENTATION.
|
|||
lv_act TYPE string,
|
||||
lv_style TYPE string,
|
||||
lv_title TYPE string.
|
||||
DATA lv_mode TYPE tabname.
|
||||
|
||||
lv_class = iv_class.
|
||||
|
||||
|
@ -341,6 +342,14 @@ CLASS zcl_abapgit_html IMPLEMENTATION.
|
|||
lv_title = | title="{ iv_title }"|.
|
||||
ENDIF.
|
||||
|
||||
" Debug option to display href-link on hover
|
||||
GET PARAMETER ID 'DBT' FIELD lv_mode.
|
||||
IF lv_mode = 'HREF'.
|
||||
lv_title = | title="{ escape(
|
||||
val = lv_href
|
||||
format = cl_abap_format=>e_html_attr ) }"|.
|
||||
ENDIF.
|
||||
|
||||
rv_str = |<a{ lv_id }{ lv_class }{ lv_href }{ lv_click }{ lv_style }{ lv_title }>|
|
||||
&& |{ iv_txt }</a>|.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user