Delete ballots

This commit is contained in:
voodoorai2000
2019-03-19 10:55:09 +01:00
parent 3ba7bd1cab
commit a932737881
6 changed files with 1 additions and 8 deletions

View File

@@ -4,4 +4,4 @@ module BallotsHelper
(amount_spent / amount_available.to_f * 100).to_s + "%"
end
end
end

View File

@@ -25,7 +25,6 @@
graph_admin_stats_path(id: "visits", count: @visits) %> <br>
<span class="number"><%= number_with_delimiter(@visits) %></span>
</p>
<p>
<%= t "admin.stats.show.summary.debates" %> <br>
<span class="number"><%= number_with_delimiter(@debates) %></span>
@@ -55,7 +54,6 @@
<%= t "admin.stats.show.summary.proposal_votes" %> <br>
<span class="number"><%= number_with_delimiter(@proposal_votes) %> <br></span>
</p>
<p>
<%= t "admin.stats.show.summary.debate_votes" %> <br>
<span class="number"><%= number_with_delimiter(@debate_votes) %></span>

View File

@@ -1,2 +0,0 @@
$("#<%= dom_id(@spending_proposal) %>_ballot").html("<%= j render("spending_proposals/ballot", spending_proposal: @spending_proposal) %>");
$(".no-supports-allowed").show();

View File

@@ -4,7 +4,6 @@ describe "Admin feature flags" do
before do
Setting["feature.spending_proposals"] = true
Setting["feature.spending_proposal_features.voting_allowed"] = true
login_as(create(:administrator).user)
end

View File

@@ -231,7 +231,6 @@ describe "Users" do
end
end
end
describe "Public interests" do

View File

@@ -377,7 +377,6 @@ describe "Votes" do
after do
Setting["feature.spending_proposals"] = nil
Setting["feature.spending_proposal_features.voting_allowed"] = nil
end
describe "Index" do