fixed bug in flex chart
This commit is contained in:
@@ -147,14 +147,14 @@
|
|||||||
<div id="thumb-container" class="grid_2 alpha">
|
<div id="thumb-container" class="grid_2 alpha">
|
||||||
<a href="/rowers/graph/{{ graph.id }}/">
|
<a href="/rowers/graph/{{ graph.id }}/">
|
||||||
<img src="/{{ graph.filename }}"
|
<img src="/{{ graph.filename }}"
|
||||||
onerror="this.src='/static/img/waiting.png'"
|
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
|
||||||
alt="{{ graph.filename }}" width="120" height="100"></a>
|
alt="{{ graph.filename }}" width="120" height="100"></a>
|
||||||
</div>
|
</div>
|
||||||
{% elif forloop.counter == 3 %}
|
{% elif forloop.counter == 3 %}
|
||||||
<div id="thumb-container" class="grid_2 omega">
|
<div id="thumb-container" class="grid_2 omega">
|
||||||
<a href="/rowers/graph/{{ graph.id }}/">
|
<a href="/rowers/graph/{{ graph.id }}/">
|
||||||
<img src="/{{ graph.filename }}"
|
<img src="/{{ graph.filename }}"
|
||||||
onerror="this.src='/static/img/waiting.png'"
|
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
|
||||||
alt="{{ graph.filename }}" width="120" height="100"></a>
|
alt="{{ graph.filename }}" width="120" height="100"></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -6672,8 +6672,11 @@ def workout_flexchart3_view(request,*args,**kwargs):
|
|||||||
yparam2 = 'hr'
|
yparam2 = 'hr'
|
||||||
|
|
||||||
if not request.user.is_anonymous():
|
if not request.user.is_anonymous():
|
||||||
|
r = getrower(request.user)
|
||||||
if favoritenr>=0 and r.showfavoritechartnotes:
|
if favoritenr>=0 and r.showfavoritechartnotes:
|
||||||
favoritechartnotes = favorites[favoritenr].notes
|
favoritechartnotes = favorites[favoritenr].notes
|
||||||
|
else:
|
||||||
|
favoritechartnotes = ''
|
||||||
else:
|
else:
|
||||||
favoritechartnotes = ''
|
favoritechartnotes = ''
|
||||||
favoritenr = 0
|
favoritenr = 0
|
||||||
|
|||||||
BIN
static/img/ajax_loader_blue_350.gif
Normal file
BIN
static/img/ajax_loader_blue_350.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 32 KiB |
Reference in New Issue
Block a user