mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 04:08:27 +08:00
syntax page "no errors" more neat
Display no errors message in syntax check with green check and no syntax errors message
This commit is contained in:
parent
3084bb2c60
commit
94604a7db5
|
@ -18,7 +18,7 @@ ENDCLASS.
|
|||
|
||||
|
||||
|
||||
CLASS ZCL_ABAPGIT_GUI_PAGE_SYNTAX IMPLEMENTATION.
|
||||
CLASS zcl_abapgit_gui_page_syntax IMPLEMENTATION.
|
||||
|
||||
|
||||
METHOD constructor.
|
||||
|
@ -40,12 +40,14 @@ CLASS ZCL_ABAPGIT_GUI_PAGE_SYNTAX IMPLEMENTATION.
|
|||
ro_html->add( '<div class="toc">' ).
|
||||
|
||||
IF lines( mt_result ) = 0.
|
||||
ro_html->add( 'No errors' ).
|
||||
ro_html->add( '<div class="dummydiv success">' ).
|
||||
ro_html->add( zcl_abapgit_html=>icon( 'check' ) ).
|
||||
ro_html->add( 'No syntax errors' ).
|
||||
ELSE.
|
||||
render_result( io_html = ro_html
|
||||
it_result = mt_result ).
|
||||
ENDIF.
|
||||
|
||||
render_result( io_html = ro_html
|
||||
it_result = mt_result ).
|
||||
|
||||
ro_html->add( '</div>' ).
|
||||
|
||||
ENDMETHOD.
|
||||
|
|
Loading…
Reference in New Issue
Block a user