diff --git a/hiboo/service/templates/service_details.html b/hiboo/service/templates/service_details.html index 63e022fce24590d1e344a6bf15858fe44fd8bf9f..6ff9f02440314c1c73f1a72a82302ffc3b228dcd 100644 --- a/hiboo/service/templates/service_details.html +++ b/hiboo/service/templates/service_details.html @@ -28,7 +28,7 @@ {% endblock %} {% block actions %} -<a href="{{ url_for("profile.list", service_uuid=service.uuid) }}" class="btn btn-primary">{% trans %}View profiles{% endtrans %}</a> +<a href="{{ url_for("profile.list_for_service", service_uuid=service.uuid) }}" class="btn btn-primary">{% trans %}View profiles{% endtrans %}</a> <a href="{{ url_for(".edit", service_uuid=service.uuid) }}" class="btn btn-primary">{% trans %}Edit this service{% endtrans %}</a> <a href="{{ url_for(".delete", service_uuid=service.uuid) }}" class="btn btn-danger">{% trans %}Delete this service{% endtrans %}</a> {% endblock %} diff --git a/hiboo/service/templates/service_list.html b/hiboo/service/templates/service_list.html index 7917d32dc3d8f7d7e8e8d52e41b6e14ff5b36631..6aa928365840b034c3fe9036279fae2a665ae686 100644 --- a/hiboo/service/templates/service_list.html +++ b/hiboo/service/templates/service_list.html @@ -12,15 +12,23 @@ <tr> <th>{% trans %}Service{% endtrans %}</th> <th>{% trans %}Provider{% endtrans %}</th> + <th>{% trans %}Type{% endtrans %}</th> <th>{% trans %}Policy{% endtrans %}</th> <th>{% trans %}Max profiles{% endtrans %}</th> + <th>{% trans %}Actions{% endtrans %}</th> </tr> {% for service in services %} <tr> <td><a href="{{ url_for(".details", service_uuid=service.uuid) }}">{{ service.name }}</a></td> <td>{{ service.provider }}</td> + <td>{{ service.protocol }}</td> <td>{{ service.policy }}</td> <td>{{ service.max_profiles }}</td> + <td> + <a href="{{ url_for(".details", service_uuid=service.uuid)}}">Details</a> + <a href="{{ url_for("profile.list_for_service", service_uuid=service.uuid)}}">Profiles</a> + <a href="{{ url_for(".edit", service_uuid=service.uuid)}}">Edit</a> + </td> </tr> {% endfor %} </table>