diff --git a/pagure/templates/commits.html b/pagure/templates/commits.html
index 9563a2d..f92e8fc 100644
--- a/pagure/templates/commits.html
+++ b/pagure/templates/commits.html
@@ -185,7 +185,7 @@
username=username,
namespace=repo.namespace,
commitid=commit.hex, branch=branchname) }}"
- class="btn btn-outline-primary font-weight-bold">
+ class="btn btn-outline-primary font-weight-bold commithash" id="c_{{ commit.hex }}">
{{ commit.hex|short }}
'
+ html += '" class="btn ' + statusesLabels[s].replace('badge', 'btn-outline') + '">'
html += statuses[s].length + '\n'
}
- html += '\n'
$(html).insertBefore(item)
}
});