Commit graph

55 commits

Author SHA1 Message Date
Bat
25ec318f3f Inject ngettext into Tera templates
Fix .po updating (without the -U option, the result was written to stdout, not the .po file)
2018-06-17 11:16:20 +01:00
Bat
657a0837e2 Use filters for gettext in Tera 2018-06-17 10:38:59 +01:00
Bat
1092ceba76 Fix locale switching + Make the gettext Tera function work 2018-06-16 23:49:44 +01:00
Bat
a4a8446d45 Make the follow button a bit smarter 2018-06-13 19:06:14 +01:00
Bat
7b61da9c7f Add a button to follow people 2018-06-13 18:52:26 +01:00
Bat
1c287c6dfe View remote profiles locally
Add a link to the profile on the real instance
2018-06-13 18:48:37 +01:00
Bat
4185ba230e Add a link to user profile in comments
And move back {% if %} inside of {% block %}, so they get interpreted.
2018-06-12 21:14:49 +01:00
Stephen Burgess
438778db39 fix(Style): Adjust code style for consistency 2018-06-12 12:05:33 -05:00
Stephen Burgess
d32c7e4b66 fix(User/Details): Display name 2018-06-12 07:45:53 -05:00
Stephen Burgess
23bb405c92 fix(User/Details): Use user variable 2018-06-12 07:42:34 -05:00
Stephen Burgess
df0fcb886d feat(UI): Fallback to username where ever display name is shown 2018-06-12 07:17:02 -05:00
Stephen Burgess
4b0114917d chore(Posts): Fix typo 2018-06-11 18:31:44 -05:00
Stephen Burgess
4ae19c6fa7 feat(Posts): Show username if no display name is present 2018-06-11 18:30:31 -05:00
Trinity Pointard
d8f32afeb0 allow html on user.summary 2018-06-11 16:05:18 +02:00
fdb-hiroshima
96f027e506
fix double escape 2018-06-11 12:33:32 +02:00
Trinity Pointard
e7cadbf764 fix double-escaping on login page and disallow html on summary 2018-06-11 11:19:44 +02:00
Trinity Pointard
daf4de07be rename templates from .tera to .html.tera to enable auto-escaping of html 2018-06-11 11:19:39 +02:00
Bat
7fd152e270 Add a button to write a new article 2018-06-10 19:16:25 +01:00
Bat
edbeeef640 Add a dashboard 2018-06-10 18:55:08 +01:00
Trinity Pointard
2fde47d909 add optional login message and callback 2018-06-04 20:21:43 +02:00
Bat
ef815a436b Tera already adds "…" 2018-05-24 11:43:16 +01:00
Bat
0b098e539f Remove HTML tags from preview
Fixes #24
2018-05-24 10:55:41 +01:00
Bat
963d413847 Don't show reshares or posts on profile if there are none 2018-05-24 10:49:02 +01:00
Bat
e9cd48ecca Display reshares on profile page 2018-05-24 10:45:36 +01:00
Bat
94beaaca76 Merge branch 'master' of github.com:Plume-org/Plume 2018-05-23 18:56:16 +01:00
Trinity Pointard
c9b231fae1 add trailing / to followers url
Signed-off-by: Trinity Pointard <trinity.pointard@insa-rennes.fr>
2018-05-22 17:52:53 +02:00
Trinity Pointard
a8aeb40b95 add trailing slashes to links where they were missing
Signed-off-by: Trinity Pointard <trinity.pointard@insa-rennes.fr>
2018-05-22 17:35:16 +02:00
Bat
9b98a45f2e Add a button to reshare 2018-05-19 10:57:39 +01:00
Bat
14bf3f00aa Make post metadata look nicer 2018-05-19 08:53:51 +01:00
Joseph Nuthalapati
ff50143c1c
Display post author and date in the post view
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-05-19 10:16:05 +05:30
Bat
1870f52332 Make the design less aggresive
- Softer violet
- Add borders to delimit cards
- Bolder titles
- Bigger inputs
2018-05-13 21:33:21 +01:00
Bat
91b19bccb5 Add a link to author's profile on article card
Use a macro to render those cards too
2018-05-13 18:19:23 +01:00
Bat
b91f567777 Display notifications 2018-05-13 14:35:55 +01:00
Bat
c6b2560eb0 Followers listing
And clean up models functions a bit
2018-05-13 12:53:58 +01:00
Bat
b8aade1e12 Delete likes 2018-05-12 21:56:57 +01:00
Bat
b68e481b3f Make the website more mobile-friendly 2018-05-12 18:59:38 +01:00
Bat
aefa31b84e Add a few (ugly) badges to the user page 2018-05-12 17:55:25 +01:00
Bat
ea08718c23 User profile edition 2018-05-12 16:30:14 +01:00
Bat
6de9d5b82a Articles listings on blogs and users pages 2018-05-12 14:31:09 +01:00
Bat
397d25e431 Display recent articles on the homepage 2018-05-12 13:56:38 +01:00
Bat
a74215ef07 Start an actual design 2018-05-10 21:31:52 +01:00
Bat
d3319493d9 Serve static files 2018-05-10 19:01:16 +01:00
Bat
ee7dfee3ef Add an endpoint to like posts 2018-05-10 17:38:03 +01:00
Bat
b506e93bd8 Make it possible to respond to a comment 2018-05-10 15:26:12 +01:00
Bat
56f4a598e2 Actually redirect when writing a new comment 2018-05-10 14:58:17 +01:00
Bat
a3d73cb2c4 Create and display comments 2018-05-10 10:44:57 +01:00
Bat
292f4d6b27 Add actual templates for everything 2018-05-09 20:09:52 +01:00
Bat
ae60d5961c Add a base template 2018-05-09 18:53:12 +01:00
Bat
5f43f783b6 Use more env vars for config
It will make it easier to test federation
2018-05-02 12:53:42 +01:00
Bat
8047df6848 Display remote profiles! 2018-05-01 12:48:19 +01:00