Commit Graph

69 Commits

Author SHA1 Message Date
cb8e9ef14f Add another tidy_raw() 2023-02-14 22:52:43 +01:00
faf2bb0e2e Improve logic and add working "delete" links 2023-02-14 21:02:48 +01:00
66a61c8380 Add tidy_raw() helper 2023-02-14 20:55:36 +01:00
b0267ef752 Add long urls for Artikel 2023-02-12 18:46:19 +01:00
239177db50 Add makeshift image for dark mode 2023-02-11 23:24:19 +01:00
1b68a1de16 Add some forgotten code 2023-02-11 20:12:03 +01:00
6ae1289400 More styling 2023-02-11 20:05:40 +01:00
666c499c72 Add .breakpoint_indicator 2023-02-11 20:05:00 +01:00
7cd9a09cfd More dark mode 2023-02-11 19:56:34 +01:00
38000db27a Add dark mode styling 2023-02-11 15:46:11 +01:00
8f2698bf7b Amend dark mode related 2023-02-06 16:15:04 +01:00
ba2949a3bd Add eventlistener for change of day/night mode
And add a static js folder for js-files apart from the asset pipeline.
2023-02-05 20:14:06 +01:00
ab2e8ae816 Add dark mode 2023-02-04 23:10:57 +01:00
c5853fc2aa Add configurable prevention of user registration
Should be done appropriately soon.
2023-01-31 18:16:28 +01:00
4d75b598ff Update design of public pages 2023-01-31 18:08:10 +01:00
6cafe09331 Update default route 2023-01-31 18:03:58 +01:00
98426773b7 Add layout for public pages 2023-01-31 18:02:10 +01:00
60eaca943a Cleanup superfluous code 2023-01-30 22:05:38 +01:00
f76f218652 Sanitize HtmlTreeComponent 2023-01-27 12:02:29 +01:00
38b3f0c272 Add hyphenation and a generalized render_public_content function 2023-01-26 21:48:50 +01:00
0089d22da4 Fix issue with "Save and edit" 2023-01-23 15:40:05 +01:00
f0c178cf31 Refactor translation form_component 2023-01-19 22:39:09 +01:00
eff9890fce Add assign for the article_content 2023-01-19 22:21:11 +01:00
4e311f711c Add some void elements to HtmlDocComponent 2023-01-19 22:19:06 +01:00
c7fe690599 Add page titles to public pages 2023-01-19 22:17:26 +01:00
8d1c08bfb4 Add a layout for the public pages 2023-01-19 22:16:41 +01:00
fa7671f972 Add "publish" button to translation form 2023-01-19 13:55:38 +01:00
f47334b281 Fix issue when clicking "Save and edit" with a new translation 2023-01-19 13:54:15 +01:00
c672d6661e Add wrapper for garnish/2 for phx event 2023-01-19 13:52:38 +01:00
078db6e38e Update garnish and render_doc functions
Now all element node attributes have to be threaded through the
eph.attributes which is done by the garnish function.
2023-01-19 13:48:56 +01:00
8220b112bf Fix issue with wrongfully used assign function 2023-01-19 11:26:26 +01:00
a93afea57b Add autoren and artikel for public viewing 2023-01-19 11:25:14 +01:00
aab04f5ecc Add public_content to translations table and rename lang to language 2023-01-15 17:55:26 +01:00
f2dd8de143 Add support for img tags 2023-01-15 17:27:51 +01:00
483ed9440d Update some superficial things 2023-01-14 22:05:48 +01:00
a95131bdbb Add rendering the translation with title tags 2023-01-14 22:04:28 +01:00
d7325d64c5 Add use <tunit> instead of <span> for Deepl translation
To avoid getting results like "... bla.&quot;</span>" ->
"... bla</span>.&quot;" from Deepl we need to set set splitting_tags
option to an element name (that's not as common as span).
2023-01-14 21:59:57 +01:00
3b1c1d04a1 Add listing translation with article 2023-01-14 21:51:04 +01:00
fd2eb5503c Add "Save and continue" button to Translation form 2023-01-12 20:59:14 +01:00
54d0ad26d5 Fix issue with missing assign in default edit code 2023-01-11 19:07:07 +01:00
403116cd08 Replace uuids with "nanoid"s 2023-01-11 19:01:28 +01:00
e0cd51937a Fix issues with changed default :current_tunit 2023-01-11 11:34:02 +01:00
24e58c7d96 Update tunit editor
Now with fancy new radio-buttons.
2023-01-10 23:20:20 +01:00
e16710664d Add checking and updating DeepL usage information 2023-01-10 20:06:54 +01:00
33ed533a1a Update editing translation 2023-01-09 21:35:35 +01:00
71e6a8da60 Update Deepl translation
Now getting auth-key from db.
2023-01-09 21:30:20 +01:00
3cd9d983fe Update routes to :ensure_authenticated
Implies setting :current_user for liveviews.
2023-01-09 21:11:13 +01:00
54250a5a95 Fix user/deepl_account relation 2023-01-09 21:09:46 +01:00
f22171cae3 Add apparently forgotten assignment 2023-01-05 22:24:30 +01:00
78160a5bae Add HtmlDocComponent to render the InternalTree
Very basic but promising.
2023-01-05 22:22:44 +01:00