This repository has been archived by the owner on May 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #352 from lakshmivyas/feature/unconfirm
#347: Integrate unconfirm gem.
- Loading branch information
Showing
10 changed files
with
70 additions
and
12 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 |
---|---|---|
|
@@ -17,3 +17,4 @@ brakeman.html | |
cucumber_rerun.txt | ||
rspec.failures | ||
vendor/cache | ||
.sass-cache |
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 |
---|---|---|
|
@@ -333,6 +333,8 @@ | |
|
||
</div> | ||
|
||
<%= include_unconfirm %> | ||
<%= unconfirm_tag %> | ||
<%= yield :javascript %> | ||
|
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,20 @@ | ||
category: student | ||
description: > | ||
This category contains the settings for confirmation messages | ||
when you are viewing the OST application as a student. | ||
settings: | ||
skip_answer_submitted_confirmation_dialog: | ||
description: > | ||
This setting controls if you are shown a confirmation dialog | ||
before you submit a free response or a multiple choice answer. | ||
message: > | ||
After you turn in your answer, you can no longer change it. | ||
Are you sure you want to turn in your answer? | ||
message_title: > | ||
Are you sure? | ||
dont_show_text: Don't show this message again. | ||
continue_text: Continue | ||
cancel_text: Cancel | ||
|
||
|
12 changes: 12 additions & 0 deletions
12
db/migrate/20140622221005_create_unconfirm_user_settings.unconfirm_engine.rb
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,12 @@ | ||
# This migration comes from unconfirm_engine (originally 20140613110759) | ||
class CreateUnconfirmUserSettings < ActiveRecord::Migration | ||
def change | ||
create_table(:unconfirm_user_settings) do |t| | ||
t.integer :user_id, :null => false | ||
t.text :settings | ||
t.timestamps | ||
end | ||
|
||
add_index :unconfirm_user_settings, :user_id | ||
end | ||
end |
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