add_goto_action.diff

An Phan, 2015-10-29 16:31

Download (1.63 KB)

View differences:

app/views/mailer/_issue.html.erb (working copy)
1
<div itemscope itemtype="http://schema.org/EmailMessage">
2
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
3
    <link itemprop="url" href="<%= issue_url %>"></link>
4
    <meta itemprop="name" content="<%= l(:label_issue_view) %>"></meta>
5
  </div>
6
  <meta itemprop="description" content="<%= l(:text_issue_view_description) %>"></meta>
7
</div>
8

  
1 9
<h1><%= link_to("#{issue.tracker.name} ##{issue.id}: #{issue.subject}", issue_url) %></h1>
2 10

  
3 11
<%= render_email_issue_attributes(issue, users.first, true) %>
config/locales/en.yml (working copy)
519 519
  label_issue: Issue
520 520
  label_issue_new: New issue
521 521
  label_issue_plural: Issues
522
  label_issue_view: View issue
522 523
  label_issue_view_all: View all issues
523 524
  label_issues_by: "Issues by %{value}"
524 525
  label_issue_added: Issue added
......
1119 1120
  text_session_expiration_settings: "Warning: changing these settings may expire the current sessions including yours."
1120 1121
  text_project_closed: This project is closed and read-only.
1121 1122
  text_turning_multiple_off: "If you disable multiple values, multiple values will be removed in order to preserve only one value per item."
1123
  text_issue_view_description: "View the issue online"
1122 1124

  
1123 1125
  default_role_manager: Manager
1124 1126
  default_role_developer: Developer