mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-04 16:12:39 +01:00
UIUX: Update documentation interface (#33604)
* Set ui tools baseUrl Set the URL of the UI tools in a variable in the documentation class so that it can be easily reused * Group index factorization * Home page and contributing Update home page and add a page to contribute to this documentation * Remove blank line * Remove blank line 2 and indentation * Add missing translations / remove unused * remove trailing text * Remove indentation --------- Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
@@ -40,12 +40,13 @@ $langs->load('uxdocumentation');
|
||||
|
||||
//
|
||||
$documentation = new Documentation($db);
|
||||
$group = 'Components';
|
||||
|
||||
// Output html head + body - Param is Title
|
||||
$documentation->docHeader();
|
||||
$documentation->docHeader($langs->trans('DocListLinks', $group));
|
||||
|
||||
// Set view for menu and breadcrumb
|
||||
$documentation->view = array('Components');
|
||||
$documentation->view = array($group);
|
||||
|
||||
// Output sidebar
|
||||
$documentation->showSidebar(); ?>
|
||||
@@ -56,8 +57,8 @@ $documentation->showSidebar(); ?>
|
||||
|
||||
<div class="doc-content-wrapper">
|
||||
|
||||
<h1 class="documentation-title"><?php echo $langs->trans('DocComponentsTitle'); ?></h1>
|
||||
<p class="documentation-text"><?php echo $langs->trans('DocComponentsMainDescription'); ?></p>
|
||||
<h1 class="documentation-title"><?php echo $langs->trans($group); ?></h1>
|
||||
<p class="documentation-text"><?php echo $langs->trans('DocGroupIndexDescription', $group); ?></p>
|
||||
|
||||
<?php $documentation->showSummary(); ?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user