Commit Graph

17 Commits

Author SHA1 Message Date
9fdcfff4fc Direct users to renewal page on Store instead of /join
/join should only be used when someone can actually buy a new subscription.
/renew should be used when someone already has a subscription that needs
to be renewed.

Since url_for('cloud.xxxx') makes no sense in Pillar, I just hard-coded
/renew instead.
2017-12-06 14:39:30 +01:00
c086cff36e Comments: Only load JS for post/edit comments if we can actually comment 2017-11-23 16:40:58 +01:00
ac9aa59924 Comments: When editing, resize the textarea
Minor tweaks:
* Remove the 'editing' class after cancel/save
* Style <code>, <pre>, etc tags
2017-11-08 22:49:56 +01:00
cb0272fe60 Comments: Put comment content inside a span
So when editing we do not override the author's name.
2017-11-08 22:01:45 +01:00
e01f915abf Comments: Unbind event before binding
Prevents flashing of comments when posting
2017-11-08 20:29:45 +01:00
5d6e0af605 Comments: Auto-resize textarea field as we type 2017-11-04 01:59:02 +01:00
53aabc8c84 Translations: Mark more strings for translation 2017-10-27 00:54:05 +02:00
6ffbd52a36 Comments: Simpler login message
No point in having a disabled input, since we're leaving
the page to login anyway
2017-10-15 05:56:43 +02:00
Pablo Vazquez
da7be50c61 Comments: Cleanup and convert more IDs to classes when possible
No functional changes.
2017-09-30 23:21:54 +02:00
Pablo Vazquez
4eeccb6107 Comments: More compact layout 2017-09-25 00:39:34 +02:00
Pablo Vazquez
6688ae66fa Use Toastr to notify 2017-09-25 00:37:03 +02:00
Pablo Vazquez
38e960eb3f Comments: Fix multiple posting when using a hotkey
On every new item loaded with comments, we would bind the click without
unbinding first, leading to multiple posting when triggering the comment
submission.
2017-09-25 00:35:35 +02:00
7d740c74e3 Move comment posting into its own function 2017-09-22 19:12:13 +02:00
Pablo Vazquez
b5f0c59511 Comments: Style tweaks
More compact and also convert IDs to classes (when not used by javascript)
2017-09-21 01:14:53 +02:00
5df68c4ead Comments: Only show if there are actually comments
No negative text "no comments"
2017-09-16 20:11:50 +02:00
9ac870e0a5 Fixed scrolling to comment when the comment ID is in the URL hash. 2017-09-13 14:05:18 +02:00
811236cff4 Migrate Jade to Pug template engine
Jade templates engine has been renamed to Pug.

We are using Pug already on the Blender Cloud repository, following is Flamenco and Attract
2017-08-30 14:04:15 +02:00