mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
38 lines
1.1 KiB
Text
38 lines
1.1 KiB
Text
.tabbable
|
|
%ul.nav.nav-tabs
|
|
%li.active
|
|
= link_to "Proposal", "#proposal-content", "data-toggle"=>"tab"
|
|
%li
|
|
= link_to "History", "#history-content", "data-toggle"=>"tab"
|
|
.tab-content
|
|
#proposal-content.tab-pane.active
|
|
= render 'proposal'
|
|
#history-content.tab-pane
|
|
.col-md-12
|
|
%table.table
|
|
%thead
|
|
%th
|
|
%b Who
|
|
%th
|
|
%b Timestamp
|
|
%th
|
|
%b Modification Type
|
|
%th
|
|
%b Changes
|
|
%tbody
|
|
- @event.versions.each do |version|
|
|
%tr
|
|
%td
|
|
- if !version.whodunnit.nil?
|
|
= Person.find_person_by_user_id(version.whodunnit).public_name
|
|
- else
|
|
No user (probably via the console)
|
|
%td
|
|
= version.created_at
|
|
%td
|
|
= version.event
|
|
%td
|
|
- version.changeset.each_key do |key|
|
|
= "#{key}: #{version.changeset[key][0]} -> #{version.changeset[key][1]}"
|
|
%br
|
|
|