summaryrefslogtreecommitdiff
path: root/doc/bugs/No_progress_in_progress_bar.mdwn
blob: 1b8e270f70a2835ffeef93c9d50317833df5c099 (plain)

I've just upgraded my Ikiwiki to backported version 2.64 for Ubuntu Hardy and wanted to see progress bar in action. Unfortunately, I can't see any progress.

This is my example Ikiwiki syntax:

[[!progress percent=75]]

A here is a HTML result:

<div class="progress">
  <div class="progress-done"></div>
</div>

It seems that progress plugin works at all, but it's a problem with passing progress value.

Anyone can confirm the bug? --[[Paweł|ptecza]]

You are correct. The above example does generate the HTML you suggest. The plugin requires a % sign:

[[!progress percent="75%"]]

This could probably be improved. Certainly the documentation could be. -- [[Will]]

Thanks for the hint, Will! I could check better the code... However, in my opinion that '%' sign is confusing here and should be dropped. I hope it's clear for all people that "percent" parameter passes values in percentages. --[[Paweł|ptecza]]