From 9d72247e9e06f2a146e84e11aaa46e9ba991fc75 Mon Sep 17 00:00:00 2001
From: danielgrippi <danielgrippi@gmail.com>
Date: Mon, 26 Sep 2011 01:55:37 -0700
Subject: [PATCH] mobile tags page

---
 app/views/people/show.mobile.haml   |  2 --
 app/views/tags/show.mobile.haml     | 15 +++++++++++++++
 public/stylesheets/sass/mobile.scss |  3 ++-
 3 files changed, 17 insertions(+), 3 deletions(-)
 create mode 100644 app/views/tags/show.mobile.haml

diff --git a/app/views/people/show.mobile.haml b/app/views/people/show.mobile.haml
index 2618745273..69e902b63f 100644
--- a/app/views/people/show.mobile.haml
+++ b/app/views/people/show.mobile.haml
@@ -10,8 +10,6 @@
   = person_image_tag @person, :thumb_medium
   %h2
     = @person.name
-  - if user_signed_in? && current_user.person == @person
-    = link_to t('people.profile_sidebar.edit_my_profile'), edit_profile_path, :class => 'button creation'
 
 - if user_signed_in? && !(@contact.persisted? || current_user.person == @person)
   - if @incoming_request
diff --git a/app/views/tags/show.mobile.haml b/app/views/tags/show.mobile.haml
new file mode 100644
index 0000000000..2e2ced94ca
--- /dev/null
+++ b/app/views/tags/show.mobile.haml
@@ -0,0 +1,15 @@
+-#   Copyright (c) 2010-2011, Diaspora Inc.  This file is
+-#   licensed under the Affero General Public License version 3 or later.  See
+-#   the COPYRIGHT file.
+
+%h1
+  = "##{params[:name]}"
+
+#main_stream.stream
+  = render 'shared/stream', :posts => @posts
+  -if @posts.length > 0
+    #pagination
+      %a.more-link.paginate{:href => next_page_path}
+        %h1
+          = t("more")
+
diff --git a/public/stylesheets/sass/mobile.scss b/public/stylesheets/sass/mobile.scss
index 470ef919e7..d0c242ea12 100644
--- a/public/stylesheets/sass/mobile.scss
+++ b/public/stylesheets/sass/mobile.scss
@@ -211,6 +211,7 @@ body {
 
 #author_info.profile {
   box-shadow: inset 0 -1px 3px #111;
+  margin-top: -10px;
 
   h2 {
     color: #ccc;
@@ -361,7 +362,7 @@ footer {
 
 .compose_icon {
   position: absolute;
-  top: 6px;
+  top: 8px;
   right: 15px;
 }
 
-- 
GitLab