Skip to content
Snippets Groups Projects
Commit dd5ef8b6 authored by Florian Gnägi's avatar Florian Gnägi
Browse files

OO-4511 Usability: add title to notes list

parent 782158a1
No related branches found
No related tags found
No related merge requests found
<h2 ><i class="o_icon o_icon o_icon-fw o_icon_certificate"> </i>$r.translate("certificates.and.statements.title")</h2>
#if($r.available("coaching.tool"))
<div class="o_button_group o_button_group_right">
$r.render("coaching.tool")
</div>
#end
$r.render("certificates")
\ No newline at end of file
## in user management
<fieldset >
<legend>
<i class="o_icon o_icon o_icon-fw o_icon_certificate"> </i>$r.translate("certificates.and.statements.title")
</legend>
<div class="o_button_group o_button_group_right">
$r.render("coaching.tool")
</div>
$r.render("certificates")
</fieldset>
#else
## in users home
<h2 ><i class="o_icon o_icon o_icon-fw o_icon_certificate"> </i>$r.translate("certificates.and.statements.title")</h2>
$r.render("certificates")
#end
\ No newline at end of file
......@@ -36,6 +36,7 @@ import org.olat.core.gui.components.table.Table;
import org.olat.core.gui.components.table.TableController;
import org.olat.core.gui.components.table.TableEvent;
import org.olat.core.gui.components.table.TableGuiConfiguration;
import org.olat.core.gui.components.velocity.VelocityContainer;
import org.olat.core.gui.control.Controller;
import org.olat.core.gui.control.Event;
import org.olat.core.gui.control.WindowControl;
......@@ -93,8 +94,11 @@ public class NoteListController extends BasicController implements GenericEventL
tableC.addColumnDescriptor(new StaticColumnDescriptor("delete", "table.header.delete", translate(
"action.delete")));
populateNLTable();
VelocityContainer notesListVC = createVelocityContainer("notesList");
notesListVC.put("table", tableC.getInitialComponent());
putInitialPanel(tableC.getInitialComponent());
putInitialPanel(notesListVC);
sec = ureq.getUserSession().getSingleUserEventCenter();
sec.registerFor(this, ureq.getIdentity(), OresHelper.lookupType(Note.class));
......
<h2 ><i class="o_icon o_icon o_icon-fw o_icon_notes"> </i>$r.translate("notesPortlet.title")</h2>
$r.render("table")
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment