ms iz fixed a bit of the mobile site
This commit is contained in:
parent
bb59df46f9
commit
69befc059d
3 changed files with 2 additions and 4 deletions
|
|
@ -10,7 +10,7 @@ class PeopleController < ApplicationController
|
||||||
|
|
||||||
def index
|
def index
|
||||||
@aspect = :search
|
@aspect = :search
|
||||||
params[:q] ||= params[:term]
|
params[:q] ||= params[:term] || ''
|
||||||
|
|
||||||
if (params[:q][0] == 35 || params[:q][0] == '#') && params[:q].length > 1
|
if (params[:q][0] == 35 || params[:q][0] == '#') && params[:q].length > 1
|
||||||
redirect_to "/tags/#{params[:q].gsub("#", "")}"
|
redirect_to "/tags/#{params[:q].gsub("#", "")}"
|
||||||
|
|
|
||||||
|
|
@ -94,8 +94,6 @@
|
||||||
= current_user.name
|
= current_user.name
|
||||||
|
|
||||||
%ul{:data => {:role => 'listview', :inset => 'true'}}
|
%ul{:data => {:role => 'listview', :inset => 'true'}}
|
||||||
%li
|
|
||||||
= link_to t('profiles.edit.your_profile'), edit_profile_path
|
|
||||||
%li
|
%li
|
||||||
= link_to t('notifications.index.notifications'), notifications_path
|
= link_to t('notifications.index.notifications'), notifications_path
|
||||||
.ui-li-count
|
.ui-li-count
|
||||||
|
|
@ -106,7 +104,7 @@
|
||||||
|
|
||||||
%ul{:data => {:role => 'listview', :inset => 'true'}}
|
%ul{:data => {:role => 'listview', :inset => 'true'}}
|
||||||
%li
|
%li
|
||||||
= link_to t('application.helper.aspect_badge.all_aspects'), aspects_path
|
= link_to t('all_aspects'), aspects_path
|
||||||
- for aspect in @all_aspects
|
- for aspect in @all_aspects
|
||||||
%li
|
%li
|
||||||
= link_to aspect, aspects_path('a_ids[]' => aspect.id)
|
= link_to aspect, aspects_path('a_ids[]' => aspect.id)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue