changes in history

This commit is contained in:
Leon Noe Jovan
2022-02-12 16:38:34 +01:00
parent 2de5727ea2
commit e909ee8405
5 changed files with 11 additions and 8 deletions

View File

@@ -71,7 +71,7 @@
<div class="row">
<div class="col-6">
<div class="team-item">
<div class="team-item-name">{{item.name}} <span class="team-item-role">{{item.badge_text}}</span></div>
<div class="team-item-name">{{item.name}} <span class="team-item-role">{%if item.role == "mentor" %}Mentor{%elif item.role == "coordinator" %}Koordinator{%elif item.role == "other" %}{{item.badge_text}}{%endif%}</span></div>
</div>
</div>
</div>
@@ -96,11 +96,6 @@
}
</style>
<script>
// set the dimensions and margins of the graph
// append the svg object to the body of the page
var data;
// Parse the Data
d3.json("/topuploads-institution/{{institution_id}}").then(function(jsondata) {
@@ -131,6 +126,7 @@
var x = d3.scaleLinear()
.domain([0,d3.max(data, function (d) { return d.value})])
.range([ 0, width]);
svg.append("g")
.attr("transform", "translate(0," + height + ")")
.call(d3.axisBottom(x))