プロジェクト

全般

プロフィール

Vote #72871

未完了

Title for icons in activity log

Admin Redmine さんがほぼ4年前に追加. ほぼ4年前に更新.

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

0%

予定工数:
category_id:
50
version_id:
0
issue_org_id:
12458
author_id:
21060
assigned_to_id:
0
comments:
5
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

I think it is good idea to add alternate text (may be title field) to avatars in the Activity log. This text could be descriptive about the action being logged, par example: 'Issue closed', 'Issue opened', 'Revision committed' etc. Why this could be good: the icons (avatars) are small and sometimes it is difficult to be recognized. This sometimes happens to me.

I did some research and found that avatars are rendered at source:/trunk/app/views/activities/index.html.erb but did not find code that renders the activity icons.


journals

P.S. I was wrong: not to avatars; to the activity icons instead.
--------------------------------------------------------------------------------
Activity icons are defined as background images in the application stylesheet. AFAIK, titles can't be added to these images.
--------------------------------------------------------------------------------
Jean-Philippe Lang wrote:
> Activity icons are defined as background images in the application stylesheet. AFAIK, titles can't be added to these images.

Hmmm, this was why I didn't see any code that renders these images in source:/trunk/app/views/activities/index.html.erb ... I looked at "HTML docs":http://www.w3schools.com/cssref/pr_background-image.asp, no luck here, indeed.

If this can be coded, it should appear before source:/trunk/app/views/activities/index.html.erb#L10. The variable *e*, I suppose so, is the current event being displayed. Where can I find the declaration of its class? I would like to play with this ...
--------------------------------------------------------------------------------

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

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


related_issues

duplicates,Closed,12553,Add tooltip for icons that are shown in activity view

Admin Redmine さんがほぼ4年前に更新

  • カテゴリActivity view_50 にセット

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

いいね!0
いいね!0