From 899dd1a4d4d698531486dadcc390ed7e0320f9c1 Mon Sep 17 00:00:00 2001 From: Dave Mc Nicoll Date: Mon, 11 Nov 2024 20:56:31 +0000 Subject: [PATCH] - Added class fullname instead of classname --- view/lean-api/entity_descriptor.phtml | 4 ++-- view/lean-api/form_descriptor.phtml | 4 ++-- view/lean-api/route_descriptor.phtml | 2 +- view/lean/layout/docs.phtml | 1 + 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/view/lean-api/entity_descriptor.phtml b/view/lean-api/entity_descriptor.phtml index 5146b8a..5ccda65 100644 --- a/view/lean-api/entity_descriptor.phtml +++ b/view/lean-api/entity_descriptor.phtml @@ -9,7 +9,7 @@
{% foreach $entities as $name => $entity %}
-

{{ $entity['className'] }}

+

{{ $name }}

{{ $entity['description'] }}

@@ -36,7 +36,7 @@
-

{{ $entity['className'] }}::searchRequest()

+

{{ $name }}::searchRequest()

Requêtes
{{ $entity['searchRequestDescription'] }}
diff --git a/view/lean-api/form_descriptor.phtml b/view/lean-api/form_descriptor.phtml index 65f57b4..91c6e9f 100644 --- a/view/lean-api/form_descriptor.phtml +++ b/view/lean-api/form_descriptor.phtml @@ -3,9 +3,9 @@ {% endfunction %}
- {% foreach $forms as $form %} + {% foreach $forms as $name => $form %}
-

{{ $form['className'] }}

+

{{ $name }}

{{ $form['description'] }}

diff --git a/view/lean-api/route_descriptor.phtml b/view/lean-api/route_descriptor.phtml index a8ded00..86143ef 100644 --- a/view/lean-api/route_descriptor.phtml +++ b/view/lean-api/route_descriptor.phtml @@ -1,7 +1,7 @@
    {% foreach $routes as $route %}
  • - {{ $route['cleaned'] }} - {{ $route['description'] }} + {{ $route['cleaned'] }} - {{= $route['description'] }} {{ $route['methods'] }} {{ $route['name'] }}
  • diff --git a/view/lean/layout/docs.phtml b/view/lean/layout/docs.phtml index ef7c4bb..f16cb2b 100644 --- a/view/lean/layout/docs.phtml +++ b/view/lean/layout/docs.phtml @@ -27,6 +27,7 @@ ul {background:#f4f4f4; list-style: none; padding-left:20px} ul ul {margin: 0;border: 0;padding: 5px 30px;} ul li + li {margin-top: 12px;} + ul ul > li:before {content:"↳"} ol .title { display: flex;justify-content: space-between;background: #ffffffb2;padding: 9px 5px;border: 1px solid #fff;} .field-desc > div {padding:5px;}