-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
007ee0a
commit d8dacc1
Showing
9 changed files
with
11 additions
and
193 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
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
89 changes: 0 additions & 89 deletions
89
app/javascript/oldjs/controllers/timeline/timeline_options_controller.js
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
- tl_json ||= nil | ||
- p "here we render the table and the timeline" | ||
:javascript | ||
miqInitTimeline('#{j_str tl_json}'); |
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 |
---|---|---|
@@ -1,15 +1,8 @@ | ||
-# Create from/to date JS vars to limit calendar selection range | ||
- url = url_for_only_path(:action => 'tl_chooser', :id => @record.id) | ||
= react 'TimelineOptions', {:url => url, :recordId => @record.id} | ||
|
||
:javascript | ||
ManageIQ.calendar.calDateFrom = new Date(#{@tl_options.date.start}); | ||
ManageIQ.calendar.calDateTo = new Date(#{@tl_options.date.end}); | ||
|
||
%h1 | ||
= @title | ||
= render :partial => "layouts/flash_msg" | ||
= render :partial => "layouts/tl_options" | ||
- url = url_for_only_path(:action => 'tl_chooser', :id => @record.id) | ||
= react 'TimelineOptions', {:url => url} | ||
= render :partial => 'layouts/tl_detail' | ||
|
||
= _("* Dates/Times on this page are based on time zone: %{time_zone}.") % {:time_zone => session[:user_tz]} |