mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-06 13:14:29 +08:00
Add HTML <head><title> to edit, view file pages
Closes SCI-1049.
This commit is contained in:
parent
97584aabb3
commit
473487faec
3 changed files with 7 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
|||
<!-- Enable IE Standards mode -->
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
|
||||
<title></title>
|
||||
<title><%= t('assets.head_title.edit', file_name: @asset.file_file_name) %></title>
|
||||
<meta name="description" content="">
|
||||
<meta name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<!-- Enable IE Standards mode -->
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
|
||||
<title></title>
|
||||
<title><%= t('assets.head_title.view', file_name: @asset.file_file_name) %></title>
|
||||
<meta name="description" content="">
|
||||
<meta name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
|
||||
|
|
|
@ -1496,6 +1496,11 @@ en:
|
|||
assign_user_to_organization: "<i>%{assigned_user}</i> was added as %{role} to team <strong>%{organization}</strong> by <i>%{assigned_by_user}</i>."
|
||||
unassign_user_from_organization: "<i>%{unassigned_user}</i> was removed from team <strong>%{organization}</strong> by <i>%{unassigned_by_user}</i>."
|
||||
|
||||
assets:
|
||||
head_title:
|
||||
edit: "sciNote | %{file_name} | Edit"
|
||||
view: "sciNote | %{file_name} | View"
|
||||
|
||||
# This section contains general words that can be used in any parts of
|
||||
# application.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue