MyAcc: DL and Clear cred - OK
[myslice.git] / portal / templates / account-view.html
index 81cca78..a21c3e2 100644 (file)
                <tr class="border_bottom">
                        <td class="odd"> {{ row.slice_name }} </td>
                                <td class="odd"> {{ row.cred_exp }} </td>
-                               <td class="odd"> <button class="btn btn-default btn-xs" name= "dl_slice_cred" type="submit" title="Download Slice Credentials">Download</button> </td>
+                               <td class="odd"> <button class="btn btn-default btn-xs" name= "dl_{{row.slice_name}}" type="submit" title="Download Slice Credentials">Download</button> </td>
                </tr>
                {%endfor%}
                </table>
                        <tr class="border_bottom">
                                <td class="odd"> {{ row.auth_name }} </td>
                                <td class="odd"> {{ row.cred_exp }} </td>
-                               <td class="odd"><button class="btn btn-default btn-xs" name= "dl_auth_cred" type="submit" title="Download Authority Credentials">Download</button></td>
+                               <td class="odd"><button class="btn btn-default btn-xs" name= "dl_{{row.auth_name}}" type="submit" title="Download Authority Credentials">Download</button></td>
                        </tr>
                        {%endfor%}
                </table>