Module: AnnouncementsMergeMethods
- Defined in:
- lib/kuali-sakai-common-lib/announcements.rb,
lib/kuali-sakai-common-lib/announcements.rb
Overview
Show Announcements from Another Site. On this page you select what announcements you want to merge into the current Site. This module contains definitions for the page elements that are common between OAE and CLE.
Instance Method Summary collapse
-
#check(site_name) ⇒ Object
Checks the checkbox for the specified site name.
-
#save ⇒ Object
Clicks the Save button and returns the Announcements class.
Instance Method Details
#check(site_name) ⇒ Object
Checks the checkbox for the specified site name
77 78 79 |
# File 'lib/kuali-sakai-common-lib/announcements.rb', line 77 def check(site_name) frm.table(:class=>"listHier lines nolines").row(:text=>/#{Regexp.escape(site_name)}/).checkbox(:id=>/site/).set end |
#save ⇒ Object
Clicks the Save button and returns the Announcements class.
82 83 84 85 |
# File 'lib/kuali-sakai-common-lib/announcements.rb', line 82 def save frm.(:value=>"Save").click Announcements.new(@browser) end |