Commit Graph

3 Commits

Author SHA1 Message Date
Jeremy Stanley c12de7d5f8 rewrite content_notices to use InstUI Alert
test plan:
 - enable redis
 - in the rails console, for a given course, do
   course.add_content_notice :import_in_progress, 1.hour
 - navigate to a page in that course as a user who has
   manage_content permission
 - the "One ore more items are currently being imported" message
   should appear at the top of the page and should be read
   to screenreaders

fixes ADMIN-2208

Change-Id: I39f2efe231c27e009aee0b13bbe26dc8fa37bad5
Reviewed-on: https://gerrit.instructure.com/175149
Tested-by: Jenkins
Reviewed-by: Ed Schiebel <eschiebel@instructure.com>
QA-Review: Daniel Sasaki <dsasaki@instructure.com>
Product-Review: Daniel Sasaki <dsasaki@instructure.com>
2018-12-17 16:58:06 +00:00
Landon Wilkins f1359d33e2 da licença part 27
add consistent license headers to all source files
(ruby, coffeescript, javascript)

except for vendor files

Change-Id: I331826e3e3be8b7d73bbf4f6afe3a79ec1340f54
Reviewed-on: https://gerrit.instructure.com/110051
Tested-by: Jenkins
Reviewed-by: Jon Jensen <jon@instructure.com>
Product-Review: Jon Jensen <jon@instructure.com>
QA-Review: Jon Jensen <jon@instructure.com>
2017-04-27 21:53:31 +00:00
Jeremy Stanley ba824be81b content migration import-in-progress notice
test plan:
 - in an environment with redis caching enabled,
  - create a content migration with the API and add the
    undocumented parameter
     settings[import_in_progress_notice]=1
  - while the course import is in progress, course pages
    should show a blue banner at the top of each page
    indicating that an import is in progress, and linking
    to the migration status page

fixes CNVS-14517

Change-Id: I9cf5c10e043f07460a1e42491addd029cfe31396
Reviewed-on: https://gerrit.instructure.com/38815
Reviewed-by: James Williams  <jamesw@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>
Product-Review: Cosme Salazar <cosme@instructure.com>
2014-08-20 16:25:15 +00:00