Skip to content

Commit

Permalink
mend
Browse files Browse the repository at this point in the history
  • Loading branch information
microstudi committed Nov 2, 2023
1 parent 4439849 commit 249905c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<!--the modal window will be used in another pr-->
<div class="reveal vote_proposal_modal voting-three-flag" id="VotingCardsModalHelp" data-reveal role="dialog" aria-modal="true" aria-labelledby="VotingCardsModalHelp-label">
<div class="reveal vote_proposal_modal voting-voting_cards" id="VotingCardsModalHelp" data-reveal role="dialog" aria-modal="true" aria-labelledby="VotingCardsModalHelp-label">
<div class="reveal__content">
<div class="instructions"><%= vote_instructions %></div>
<div class="current-choice voting-voting_cards"><div class="vote-card"></div></div>
<div class="future-dismiss">
<%= check_box_tag "three_flag-skip_help", current_component.id, false %>
<%= label_tag "three_flag-skip_help", t("decidim.decidim_awesome.voting.voting_cards.modal.skip") %>
<%= check_box_tag "voting_cards-skip_help", current_component.id, false %>
<%= label_tag "voting_cards-skip_help", t("decidim.decidim_awesome.voting.voting_cards.modal.skip") %>
</div>

<div class="text-center">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ $(() => {

const $modal = $("#VotingCardsModalHelp");
const $card = $modal.find(".current-choice .vote-card");
const $check = $("#three_flag-skip_help");
const $check = $("#voting_cards-skip_help");

const storage = () => {
return JSON.parse(localStorage.getItem("hideTreeFlagsModalHelp") || "{}")
Expand Down
2 changes: 1 addition & 1 deletion spec/system/voting_cards_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require "spec_helper"

describe "Three flags", type: :system do
describe "Voting Cards", type: :system do
include_context "with a component"
let(:manifest) { :voting_cards }
let!(:component) { create :proposal_component, :with_votes_enabled, participatory_space: participatory_space, settings: settings }
Expand Down

0 comments on commit 249905c

Please sign in to comment.