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
Display version number on main page #71
Comments
John, Not much of a task, but it will force you to learn about the templating system and position you to handle more sophisticated tasks. Thanks, |
Yessir. I will take on this issue. |
Done; the task wasn't so bad. Please check. Fortunately, Vim skills came in quite handy there. A few questions: Thanks. |
Sorry John, not quite that easy. You need to pass iiab.version itself into the template, not just update the text to "0.4.4". We need to have one place where version is stored - in iiab/init.py - I have to update it every time there is a new release. We can't maintain the HTML separately. So you need to pass iiab.version into the template and have it display. Does that make sense? Thanks, |
Hi John, The Jinja template docs are at http://jinja.pocoo.org/docs/templates/ . Internationalization stuff is at http://pythonhosted.org/Flask-Babel/ . |
Also, be aware that I moved settings into its own template file last night. So make sure you pull the latest changes. |
Ok, seems that I will have to study the different statements in Jinja. |
Thanks John. Hopefully this will be a pleasant learning experience which will enable you to help on more complex matters. Let us know if you have any questions or want a different task. |
By the way, omwah, from moving settings to its own template, the language button is broken. |
Yes I am in the progress of fixing that. |
Woot. I've accomplished the task, but I accidentally did a git push -f, removing two of your commits. Please don't pull the first thing today. Anyway, how does it look? |
Nice work! Looks good. When you complete a task feel free to close the ticket. I'll think of something else for you. |
In order to help debug customer issues, the main IIAB page should show the version number. Also we should tag the repo with version numbers before we deploy new rpms.
The text was updated successfully, but these errors were encountered: