Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Popup summary is hardcoded #26

Open
str opened this issue Feb 7, 2017 · 1 comment
Open

Popup summary is hardcoded #26

str opened this issue Feb 7, 2017 · 1 comment

Comments

@str
Copy link

str commented Feb 7, 2017

The popup that is shown when you click the jumbotron progressbar has the values hardcoded.

vision legislativa quetzaltenango

@str
Copy link
Author

str commented Feb 8, 2017

This can easily be fixed, but the templates are in the DB for me to create a change in a file.

The fixed code is

                    <div class="progress summary-progress" data-container="body" data-html="true" data-toggle="popover" data-placement="top"
                        data-content="<i class='fa fa-check'></i>                     <strong>{{summary.accomplished}}</strong> promesas cumplidas</br>
                                      <i aria-hidden='true' data-icon='&#xe600;'></i> <strong>{{summary.in_progress}}</strong> promesas incompletas</br>
                                      <i class='fa fa-times'></i>                     <strong>{{summary.no_progress}}</strong> promesas sin avance</br>">
                        <div class="progress-bar" style="width: {{summary.total_progress}}%">
                            <p>Primer Año: {{summary.formated_total_progress}}% de cumplimiento del programa</p>
                        </div>
                    </div>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant