summaryrefslogtreecommitdiff
path: root/app/views/projects/snippets/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/snippets/show.html.haml')
-rw-r--r--app/views/projects/snippets/show.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/snippets/show.html.haml b/app/views/projects/snippets/show.html.haml
index 7c599563ce4..d36a015a498 100644
--- a/app/views/projects/snippets/show.html.haml
+++ b/app/views/projects/snippets/show.html.haml
@@ -1,4 +1,4 @@
-- page_title @snippet.title, "Snippets"
+- page_title @snippet.title, "代码片段"
= render "header_title"
.snippet-holder
@@ -11,7 +11,7 @@
= @snippet.file_name
.file-actions.hidden-xs
= clipboard_button(clipboard_target: ".blob-content[data-blob-id='#{@snippet.id}']")
- = link_to 'Raw', raw_namespace_project_snippet_path(@project.namespace, @project, @snippet), class: "btn btn-sm", target: "_blank"
+ = link_to '原文件', raw_namespace_project_snippet_path(@project.namespace, @project, @snippet), class: "btn btn-sm", target: "_blank"
= render 'shared/snippets/blob'