Browse Source

remove deprecated methods

main
ghost 1 year ago
parent
commit
b9a2804132
  1. 45
      src/Controller/PageController.php
  2. 2
      templates/default/user/module.html.twig

45
src/Controller/PageController.php

@ -24,49 +24,4 @@ class PageController extends AbstractController
// @TODO // @TODO
]); ]);
} }
#[Route(
'/{_locale}/page/stars',
name: 'page_stars'
)]
public function stars(): Response
{
// @TODO
}
#[Route(
'/{_locale}/page/views',
name: 'page_views'
)]
public function views(): Response
{
// @TODO
}
#[Route(
'/{_locale}/page/downloads',
name: 'page_downloads'
)]
public function downloads(): Response
{
// @TODO
}
#[Route(
'/{_locale}/page/comments',
name: 'page_comments'
)]
public function comments(): Response
{
// @TODO
}
#[Route(
'/{_locale}/page/editions',
name: 'page_editions'
)]
public function editions(): Response
{
// @TODO
}
} }

2
templates/default/user/module.html.twig

@ -38,6 +38,7 @@
</span> </span>
</a> </a>
{% endif %} {% endif %}
{#
{% if route == 'page_stars' %} {% if route == 'page_stars' %}
<span class="padding-x-16-px padding-y-8-px display-block background-color-green cursor-default text-color-white"> <span class="padding-x-16-px padding-y-8-px display-block background-color-green cursor-default text-color-white">
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> <svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16">
@ -163,6 +164,7 @@
</span> </span>
</a> </a>
{% endif %} {% endif %}
#}
{% if route == 'page_submit' %} {% if route == 'page_submit' %}
<span class="padding-x-16-px padding-y-8-px display-block background-color-green cursor-default text-color-white"> <span class="padding-x-16-px padding-y-8-px display-block background-color-green cursor-default text-color-white">
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> <svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16">

Loading…
Cancel
Save