diff options
Diffstat (limited to 'templates/dwgfiles.html')
-rw-r--r-- | templates/dwgfiles.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/dwgfiles.html b/templates/dwgfiles.html index 23fa314..2f71196 100644 --- a/templates/dwgfiles.html +++ b/templates/dwgfiles.html @@ -10,27 +10,27 @@ <table style="font-size: 85%" width=95%> <tr><th>File</th><th>Size</th><th>Paths</th><th>Scans folder</th><th>Scan files</th><th>Frames</th></tr> -{% for tunnelfile in tunnelfiles %} +{% for dwgfile in dwgfiles %} <tr> - <td><a href="{% url "dwgfilesingle" tunnelfile.tunnelpath %}">{{tunnelfile.tunnelpath}}</a></td> - <td align="right" style="padding:2px">{{tunnelfile.filesize}}</td> - <td align="right" style="padding:2px">{{tunnelfile.npaths}}</td> + <td><a href="{% url "dwgfilesingle" dwgfile.tunnelpath %}">{{dwgfile.tunnelpath}}</a></td> + <td align="right" style="padding:2px">{{dwgfile.filesize}}</td> + <td align="right" style="padding:2px">{{dwgfile.npaths}}</td> <td style="padding:2px"> - {% for scansfolder in tunnelfile.manyscansfolders.all %} + {% for scansfolder in dwgfile.manyscansfolders.all %} <a href="{{scansfolder.get_absolute_url}}">{{scansfolder.walletname}}</a> {% endfor %} </td> <td style="padding:2px"> - {% for singlescan in tunnelfile.scans.all %} + {% for singlescan in dwgfile.scans.all %} <a href="{{singlescan.get_absolute_url}}">{{singlescan.name}}</a> {% endfor %} </td> <td style="padding:2px"> - {% for rtunnelfile in tunnelfile.tunnelcontains.all %} - <a href="{% url "dwgfilesingle" rtunnelfile.tunnelpath %}">{{rtunnelfile.tunnelpath}}</a> + {% for rdwgfile in dwgfile.tunnelcontains.all %} + <a href="{% url "dwgfilesingle" rdwgfile.tunnelpath %}">{{rdwgfile.tunnelpath}}</a> {% endfor %} </td> </tr> |