1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-16 15:00:26 +00:00
Commit Graph

12 Commits

Author SHA1 Message Date
Timur Ismagilov
a8b3e3d43a Implement viewutil.Base 2022-03-29 23:59:36 +03:00
Timur Ismagilov
be7b2cc295 Categories: Do not let anons add to/remove from categories 2022-03-26 18:39:33 +03:00
Timur Ismagilov
0a273f55f4 Admin: Port /admin/ to the new template approach 2022-03-26 18:26:14 +03:00
Timur Ismagilov
a5cb7c0a3d Categories: Perform l10n tricks 2022-03-23 15:46:08 +03:00
Timur Ismagilov
4d56657938 Categories: Localize the categories card 2022-03-22 16:57:25 +03:00
Timur Ismagilov
81c075bfb4 Categories: Style the categories card 2022-03-22 16:40:40 +03:00
Timur Ismagilov
eb88cbf23e Views: Drop the *HTML suffix 2022-03-21 00:24:40 +03:00
Timur Ismagilov
40bb20a89c L10n experiment no. 6 (?)
Use the template system for default English keys and then redefine them with Russian versions.

This is kinda weird.
2022-03-20 22:24:40 +03:00
Timur Ismagilov
7865f77060 Categories: Add category list
* /category lists categories
* /category/<cat> shows the category
2022-03-20 21:24:54 +03:00
Timur Ismagilov
ea0c2f35d1 Categories: Refactor a little
* Introduce views.Meta for passing common stuff around.
* Store both category-related templates in one HTML file, which is go:embed:ded.
* Fix a bug.
2022-03-20 12:04:08 +03:00
Timur Ismagilov
d2a4285e7f Categories: Implement category pages 2022-03-20 11:21:59 +03:00
Timur Ismagilov
f5cbd5622d Categories: Show pre-populated categories
They are useless now, and cannot be edited. Also, not properly styled. You get the idea though.
2022-03-19 23:57:33 +03:00