diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-08-16 17:12:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-16 17:12:58 +0200 |
commit | ca7ea1aba92f97e93f3c49e972f686a78779fd71 (patch) | |
tree | ce5137b08252ea956ee0b729ccaceb55e3e80f4f /app/helpers | |
parent | f814661fcaed99221bf0b250dbe14349cb702833 (diff) |
Redesign public profiles (#4608)
* Redesign public profiles * Responsive design * Change public profile status filtering defaults and add options - No longer displays private/direct toots even if you are permitted access - By default omits replies - "With replies" option - "Media only" option * Redesign account grid cards * Fix style issues
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/application_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 9f50d8bdb..61d4442c1 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -5,6 +5,10 @@ module ApplicationHelper current_page?(path) ? 'active' : '' end + def active_link_to(label, path, options = {}) + link_to label, path, options.merge(class: active_nav_class(path)) + end + def show_landing_strip? !user_signed_in? && !single_user_mode? end |