プロジェクト

全般

プロフィール

Vote #73949

完了

Output changeset comment in html title

Admin Redmine さんが4年以上前に追加. 4年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
SCM_3
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
3
version_id:
70
issue_org_id:
14138
author_id:
11192
assigned_to_id:
0
comments:
6
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明


diff --git a/app/views/repositories/revision.html.erb b/app/views/repositories/revision.html.erb
--- a/app/views/repositories/revision.html.erb
+++ b/app/views/repositories/revision.html.erb
@@ -94,4 +94,8 @@
 <%= stylesheet_link_tag "scm" %>
 <% end %>
 
-<% html_title("#{l(:label_revision)} #{format_revision(@changeset)}") -%>
+<%
+  title = "#{l(:label_revision)} #{format_revision(@changeset)}"
+  title << " #{truncate(@changeset.comments, :length => 80)}"
+  html_title(title)
+ -%>

journals

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Hi Toshi,

I applied your change. But I can't recognize any change. Can you give me a hint where to look for a change?

Best regards,
Daniel
--------------------------------------------------------------------------------
These are images.

h3. no patch

!old.png!

h3. patch

!patch.png!
--------------------------------------------------------------------------------
Ah thanks! Haven't noticed it as I tested it in IE10 with tabs.

Seems to work, no problems. For my instance.
--------------------------------------------------------------------------------
Committed in trunk r11909.
--------------------------------------------------------------------------------

Admin Redmine さんが4年以上前に更新

  • カテゴリSCM_3 にセット
  • 対象バージョン2.4.0_70 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0