Commit 2a5b6f56 authored by Raph El's avatar Raph El
parents 125929ab 421ae57d
......@@ -2691,13 +2691,13 @@ var directory = {
if(params.votes ){
str += "<div class='col-sm-12 padding-10'>";
if(params.votes.up)
str += "<div class='col-sm-3 text-green tooltips text-center' data-toggle='tooltip' data-placement='bottom' data-original-title='"+trad.Agree+"'><i class='fa fa-thumbs-up'></i> "+Object.keys(params.votes.up).length+"</div>";
str += "<div class='col-sm-3 text-green tooltips text-center vote-counter-entity' data-toggle='tooltip' data-placement='bottom' data-original-title='"+trad.Agree+"'><i class='fa fa-thumbs-up'></i> "+Object.keys(params.votes.up).length+"</div>";
if(params.votes.down)
str += "<div class='col-sm-3 text-red tooltips text-center' data-toggle='tooltip' data-placement='bottom' data-original-title='"+trad.Disagree+"'><i class='fa fa-thumbs-down'></i> "+Object.keys(params.votes.down).length+"</div>";
str += "<div class='col-sm-3 text-red tooltips text-center vote-counter-entity' data-toggle='tooltip' data-placement='bottom' data-original-title='"+trad.Disagree+"'><i class='fa fa-thumbs-down'></i> "+Object.keys(params.votes.down).length+"</div>";
if(params.votes.uncomplet)
str += "<div class='col-sm-3 text-orange tooltips text-center' data-toggle='tooltip' data-placement='bottom' data-original-title='"+trad.Uncomplet+"'><i class='fa fa-hand-grab-o'></i> "+Object.keys(params.votes.uncomplet).length+"</div>";
str += "<div class='col-sm-3 text-orange tooltips text-center vote-counter-entity' data-toggle='tooltip' data-placement='bottom' data-original-title='"+trad.Uncomplet+"'><i class='fa fa-hand-grab-o'></i> "+Object.keys(params.votes.uncomplet).length+"</div>";
if(params.votes.white)
str += "<div class='col-sm-3 text-dark tooltips text-center' data-toggle='tooltip' data-placement='bottom' data-original-title='"+trad.Abstain+"'><i class='fa fa-circle-o'></i> "+Object.keys(params.votes.white).length+"</div>";
str += "<div class='col-sm-3 text-dark tooltips text-center vote-counter-entity' data-toggle='tooltip' data-placement='bottom' data-original-title='"+trad.Abstain+"'><i class='fa fa-circle-o'></i> "+Object.keys(params.votes.white).length+"</div>";
str += "</div>";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment