Skip to content
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.

Duplicate element IDs in leaderboard.tpl #297

Open
nixe- opened this issue Jun 29, 2016 · 1 comment
Open

Duplicate element IDs in leaderboard.tpl #297

nixe- opened this issue Jun 29, 2016 · 1 comment

Comments

@nixe-
Copy link

nixe- commented Jun 29, 2016

In leaderboard.tpl row 143 there's defined td element like
<td id="r{$result.PlayerId}_{$hr_id}">{$rresult}</td>

This causes errors in syntax validation, because of dublicate IDs in all round result cells. In this case every roundresult cell element gets id r[PlayerId]_ ie. r132_ because hr_id is not defined in leaderboard.tpl, as it is in results.tpl

This should propable be fixed as
<td id="r{$result.PlayerId}_{$roundid}">{$rresult}</td>

@tuminoid
Copy link
Owner

tuminoid commented Jul 3, 2016

Thanks. Pull requests welcome :-)

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

No branches or pull requests

2 participants