-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[frontend] Introduces ProjectLogEntry view
If you just want to check what happened project wide in the last couple of hours to find the cause of some problem. There is already the RSS feed for this but it's harder to skim than a nice *cough* web view.
- Loading branch information
1 parent
2fc97dd
commit 328067f
Showing
8 changed files
with
35 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,3 +99,7 @@ table.buildstatus { | |
th.buildstatus img { | ||
margin-bottom: -3px; | ||
} | ||
|
||
nav.pagination { | ||
text-align: center; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
- @pagetitle = "Pulse of #{@project}" | ||
- project_bread_crumb 'Pulse' | ||
|
||
|
||
= render partial: 'webui/project/tabs' | ||
%h3 Pulse of #{@project} | ||
- @pulse.each do |log_entry| | ||
%p | ||
• | ||
= log_entry.event_type.camelcase.prepend('Event::').constantize.description | ||
- if log_entry.package_name | ||
(#{link_to(log_entry.package_name, package_show_path(@project.name, log_entry.package_name))}) | ||
- if log_entry.user_name | ||
by #{link_to(log_entry.user_name, user_show_path(log_entry.user_name))} | ||
- if log_entry.bs_request | ||
via request #{link_to("##{log_entry.bs_request.number}", request_show_path(log_entry.bs_request.number))} | ||
= fuzzy_time(log_entry.datetime) | ||
|
||
= paginate @pulse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters