itx-informationssysteme / jobapplications

This TYPO3 extension enables you to manage job postings, provides you with an application form and a backend module to manage incoming applications.
https://extensions.typo3.org/extension/jobapplications/
Other
7 stars 10 forks source link

[Feature] Enable/disable the filter and/or the page browser in the list plugin [jobapplications_frontend] #133

Open zenoussi opened 9 months ago

zenoussi commented 9 months ago

With a generally low number of vacancies, a page browser makes no sense. If there are fewer or the same number of job vacancies with regard to the set maximum number per page settings.itemsOnPage, it makes no sense to display the page browser because it has no function. A small number of job offers can be quickly achieved if the output of job offers is restricted to one category.

In my opinion, the display of the filter should be an option of the editor, which depends on the size of the respective project or also on the personalised number of job offers on a respective page.

ghost commented 9 months ago

Sure one could do that, but you are free to do that in the template as you'd like. Feel free to make a PR if you come up with a general solution.

r4fx commented 6 months ago

try this

Templates/Posting/List.html :

<f:if condition="{paginator.numberOfPages} > {settings.itemsOnPage}">
  <div class="job-offers-pagination">
    <f:render partial="Pagination"
              arguments="{pagination: pagination, paginator: paginator, action: 'list', constraint: constraint}"></f:render>
  </div>
</f:if>