Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-23 06:10:12 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-23 06:10:12 +0300
commit9e554a5223d5ed7e08e5db58617c9bc1b9564402 (patch)
treeee79df0196b73b5ac40fd5ca125070d9986ff50f /app/views/snippets
parentb3c6f0b297773a946379a6fca8b3165cb66c6754 (diff)
Update views to single form of address. Change "my" to "your"
Diffstat (limited to 'app/views/snippets')
-rw-r--r--app/views/snippets/current_user_index.html.haml2
-rw-r--r--app/views/snippets/index.html.haml4
-rw-r--r--app/views/snippets/show.html.haml2
3 files changed, 4 insertions, 4 deletions
diff --git a/app/views/snippets/current_user_index.html.haml b/app/views/snippets/current_user_index.html.haml
index b2b7ea4df0e..0df5ade500d 100644
--- a/app/views/snippets/current_user_index.html.haml
+++ b/app/views/snippets/current_user_index.html.haml
@@ -1,5 +1,5 @@
%h3.page-title
- My Snippets
+ Your Snippets
.pull-right
= link_to new_snippet_path, class: "btn btn-new btn-grouped", title: "New Snippet" do
Add new snippet
diff --git a/app/views/snippets/index.html.haml b/app/views/snippets/index.html.haml
index 0d71c41e2e7..5cd8ae26cf9 100644
--- a/app/views/snippets/index.html.haml
+++ b/app/views/snippets/index.html.haml
@@ -2,12 +2,12 @@
Public snippets
.pull-right
-
+
- if current_user
= link_to new_snippet_path, class: "btn btn-new btn-grouped", title: "New Snippet" do
Add new snippet
= link_to user_snippets_path(current_user), class: "btn btn-grouped" do
- My snippets
+ Your snippets
%p.light
Public snippets created by you and other users are listed here
diff --git a/app/views/snippets/show.html.haml b/app/views/snippets/show.html.haml
index edfa2092df9..55a990c94ed 100644
--- a/app/views/snippets/show.html.haml
+++ b/app/views/snippets/show.html.haml
@@ -23,7 +23,7 @@
.back-link
- if @snippet.author == current_user
= link_to user_snippets_path(current_user) do
- &larr; my snippets
+ &larr; your snippets
- else
= link_to snippets_path do
&larr; discover snippets