Generate news instance (#3585)

Co-authored-by: Lars Hvam <larshp@hotmail.com>
This commit is contained in:
Jaime Rodriguez Capote 2020-07-05 18:08:51 +02:00 committed by GitHub
parent f9b98190f1
commit fd32cbd951
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -957,6 +957,8 @@ CLASS zcl_abapgit_gui_page_view_repo IMPLEMENTATION.
" Reinit, for the case of type change
mo_repo = zcl_abapgit_repo_srv=>get_instance( )->get( mo_repo->get_key( ) ).
lo_news = zcl_abapgit_news=>create( mo_repo ).
CREATE OBJECT ri_html TYPE zcl_abapgit_html.
ri_html->add( |<div class="repo" id="repo{ mv_key }">| ).
ri_html->add( zcl_abapgit_gui_chunk_lib=>render_repo_top(