aurweb/templates/partials
Kevin Morris ae3d302c47 implement /packages/{name} as its own route
A few things added with this commit:

- aurweb.packages.util
    - A module providing package and pkgbase helpers.
- aurweb.template.register_filter
    - A decorator that can be used to register a filter:
      @register_filter("some_filter") def f(): pass

Additionally, template partials have been split off a bit
differently. Changes:

- /packages/{name} is defined in packages/show.html.
- partials/packages/package_actions.html is now
  partials/packages/actions.html.
- partials/packages/details.html has been added.
- partials/packages/comments.html has been added.
- partials/packages/comment.html has been added.
- models.dependency_type additions: name and id constants.
- models.relation_type additions: name and id constants.
- models.official_provider additions: base official url constant.

Signed-off-by: Kevin Morris <kevr@0cost.org>
2021-07-27 20:48:40 -07:00
..
account add /accounts/ (get, post) routes 2021-07-01 11:08:56 -07:00
packages implement /packages/{name} as its own route 2021-07-27 20:48:40 -07:00
tu add /tu/{proposal_id} (get, post) routes 2021-06-26 01:11:52 -07:00
account_form.html bugfix: use empty string if backup_email is None 2021-06-28 04:04:52 -07:00
archdev-navbar.html [FastAPI] remove unused Requests navbar item 2021-06-26 01:10:20 -07:00
body.html port over base HTML layout from PHP to FastAPI+Jinja2 2021-06-05 19:50:51 -07:00
error.html add passreset routes 2021-06-05 20:11:17 -07:00
footer.html port over base HTML layout from PHP to FastAPI+Jinja2 2021-06-05 19:50:51 -07:00
head.html FastAPI: use internal typeahead and remove jquery 2021-06-29 22:56:48 -07:00
layout.html FastAPI: use internal typeahead and remove jquery 2021-06-29 22:56:48 -07:00
meta.html port over base HTML layout from PHP to FastAPI+Jinja2 2021-06-05 19:50:51 -07:00
navbar.html port over base HTML layout from PHP to FastAPI+Jinja2 2021-06-05 19:50:51 -07:00
set_lang.html port over base HTML layout from PHP to FastAPI+Jinja2 2021-06-05 19:50:51 -07:00