Toby Zerner
c05f8b732d
Move details from post edited indicator back into a tooltip
...
Showing the username and time of edit is TMI (too much information). This commit changes the visible text to "Edited", and shows the full edit information in a tooltip.
ref #446
2016-05-21 20:27:56 +09:30
Toby Zerner
58c9a6164a
Automatically support basic HTML tags in translations
...
This allows front-end translations to use basic (attributeless) HTML tags freely, without the need for the translator call to supply a matching vdom element. Translations can thus make use of styling (<em>, <code>, etc.) as they see fit. The translator call can still optionally supply a vdom element to substitute in more complex tags where necessary (e.g. hyperlinks).
/cc @dcsjapan
2016-05-21 20:25:32 +09:30
Franz Liedke
60e50713e7
Customize behavior for various navigation callbacks, pass KeyboardEvent instance to callback
...
Refs #264 .
2016-05-15 23:09:59 +09:00
Franz Liedke
513c586be3
Make key callback registration more concise
...
Refs #264 .
2016-05-15 22:58:41 +09:00
Franz Liedke
9f8c2ed458
First shot at extracting keyboard navigation code to separate util class
...
Refs #264 .
2016-05-15 22:34:16 +09:00
Franz Liedke
0cc75be55e
Add a heading to the admin mail page
2016-05-15 20:46:58 +09:00
Franz Liedke
fa7871cc16
Admin menu: Move email tab closer to the top
2016-05-15 20:31:23 +09:00
Franz Liedke
a884a3592b
Tweak structure of mail settings page
...
Refs #258 and #933 .
2016-05-15 20:28:05 +09:00
Franz Liedke
9637d27b56
Fix translation keys
2016-05-15 12:08:11 +09:00
Franz Liedke
9d2d302f2d
Cleanup code (unused import, variable name)
2016-05-14 17:19:01 +09:00
David Sevilla Martín
99dbea4524
Replace pencil & tooltip w/ just text; Fixes #446 ( #954 )
2016-05-14 17:06:02 +09:00
Franz Liedke
dd0dc44dd8
Merge branch 'pr/933'
...
Closes #258 .
2016-05-13 00:25:27 +09:00
Franz Liedke
18ee8578e8
Remove unused import
2016-05-13 00:25:11 +09:00
Franz Liedke
7256122a43
Compile dist JS for 3c6429a
2016-05-12 23:58:09 +09:00
Augustus D'Souza
3c6429aba8
Fixes #945 - Incorrect Scrubber count value ( #946 )
...
* Fixes #945 - Incorrect Scrubber count value
Clicking and dragging the Scrubber beyond the final post causes the counter to exceed the total post count. This commit fixes that issue.
* Updated post calculating logic
2016-05-10 10:52:20 +09:00
David Sevilla Martín
6b108d99cb
Changed "Advanced" to "Mail"
...
+ Added labels above inputs
- Removed Placeholders
2016-04-23 09:19:02 -04:00
David Sevilla Martín
45045a2ac1
Added "Advanced" page on admin & SMTP settings
...
Refs #258
2016-04-17 09:54:41 -04:00
Franz Liedke
3000ec695d
Add a tooltip to the avatar icon
...
Refs #249 .
2016-04-17 22:34:03 +09:00
Franz Liedke
323339190c
Use a slightly different icon for suggesting upload functionality
...
Refs #249 .
2016-04-17 22:24:09 +09:00
David Sevilla Martín
af5f47bb90
If no avatar uploaded user will see the upload button directly on "avatar" without full opacity
...
Refs #249
2016-04-16 13:09:09 -04:00
Franz Liedke
cd16adfa69
Remove unused imports
2016-04-14 23:22:33 +09:00
Toby Zerner
603537c3d1
Scroll to reply preview initially
2016-04-08 13:51:23 +09:30
Toby Zerner
0f975da403
Don't show username/email fields when editing own account. fixes #903
2016-04-08 13:40:37 +09:30
Toby Zerner
66a39bbbf5
Fix buttons being given incorrect title
2016-04-08 13:38:50 +09:30
Toby Zerner
6dd190114d
Retain global page components between routes
2016-04-08 13:38:16 +09:30
Sajjad Hasehmian
ffaafb92d4
Update app.js
2016-04-07 22:59:01 +04:30
Franz Liedke
37d7f315d3
Fix locale key
2016-04-01 10:49:11 +09:00
Toby Zerner
b799039c29
Fix commas in new DiscussionRenamedPost tooltip. ref #428
2016-04-01 12:02:51 +10:30
Franz Liedke
895281acb2
DiscussionRenamedPost: Always show new title, show old title in tooltip
...
Refs #428 .
2016-04-01 10:07:34 +09:00
Franz Liedke
42c9086c32
Improve Button component to only show tooltip if textual content is available
2016-04-01 09:51:18 +09:00
Toby Zerner
210bbc800a
Fix settings not automatically showing when an extension is enabled
2016-03-31 17:11:23 +10:30
Franz Liedke
f97ebfcbc0
Remove leftover function
2016-03-31 15:12:07 +09:00
Franz Liedke
328a244f92
Fix DiscussionRenamedPost not being redrawn when toggling
...
Closes #428 .
2016-03-31 09:35:19 +09:00
Franz Liedke
d6c6e78193
Make DiscussionRenamedPost spread across three lines
...
This also adds a little button for expanding / collapsing this additional information.
It is expanded by default right now because I could not get the toggling to work yet.
Refs #428 .
2016-03-30 22:13:08 +09:00
Franz Liedke
bc11ec68dd
Extract EventPost description into separate method
...
This makes it easier to override in subclasses.
In preparation for #428 .
2016-03-30 20:41:15 +09:00
Franz Liedke
9ae189bb9f
Only update human time objects every ten seconds
2016-03-30 19:47:40 +09:00
Franz Liedke
179fcfb3ca
Show full button content as tooltip
...
Refs #494 .
2016-03-30 10:04:08 +09:00
Franz Liedke
51da153592
extractText: Avoid unnecessary variable
2016-03-30 09:59:54 +09:00
Franz Liedke
25d18d79fb
Revert "Use GroupBadge component since we already have that"
...
This reverts commit eb76767e70
.
2016-03-29 22:46:23 +09:00
Franz Liedke
eb76767e70
Use GroupBadge component since we already have that
2016-03-29 22:39:26 +09:00
Franz Liedke
98c4883cfd
Remove unused mixin imports
2016-03-29 22:32:15 +09:00
Franz Liedke
dbbbc689bb
Prevent humanTime helper to generate future times
...
Fixes #592 .
2016-03-29 22:23:11 +09:00
Franz Liedke
16b229649a
Use group ID instead of name in generated class names
...
This fixes #847 .
2016-03-29 22:08:44 +09:00
Toby Zerner
76ea6f3695
Clean up unused code
2016-03-28 15:46:52 +10:30
Toby Zerner
7120ba2050
Add specific error message when an email address is not found in forgot password modal
2016-03-28 15:46:20 +10:30
Toby Zerner
a5c8ef0566
Tweak user email confirmation alert
...
- Make sure is_activated is serialized to a bool (otherwise "0" will evaluate to true)
- Remove "error" class from message so it's more friendly
- Make the alert more prominent by mounting it into a new div at the top of the page
- Add loading UX to the resend button
2016-03-23 22:17:42 +10:30
Sajjad Hasehmian
b13adfec84
Show alert for unverified User
2016-03-22 18:52:32 +04:30
Toby Zerner
820752f61c
Oops, back to Mithril 0.2.3!
2016-03-21 21:25:00 +10:30
Toby Zerner
1ca1639139
Extract sortMap variable
...
Also revert previous uncommitted change in dist file
2016-03-18 10:06:58 +10:30
Toby Zerner
65f2d84d55
Fix "sort by" dropdown being empty
...
Must be something in the latest version of Chrome that caused this to start being a problem, because @franzliedke started experiencing it a few days ago, and I only just experienced it for the first time yesterday.
2016-03-18 09:37:25 +10:30