Parcourir la source

Fix margin on ISP "Edit" button

Gu1 il y a 11 ans
Parent
commit
e339405904
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      ffdnispdb/templates/project_detail.html
  2. 1 1
      ffdnispdb/utils.py

+ 1 - 1
ffdnispdb/templates/project_detail.html

@@ -9,7 +9,7 @@
 {%- endblock %}
 {% block page_header %}
     {{ super() }}
-    <a class="btn btn-success btn-small pull-right" style="margin: 15px 10px 0;" href="{{ url_for('.edit_project', projectid=project_row.id) }}"><i class="icon-edit icon-white"></i> {{ _("Edit") }}</a>
+    <a class="btn btn-success btn-small pull-right" style="margin: 10px 10px 0;" href="{{ url_for('.edit_project', projectid=project_row.id) }}"><i class="icon-edit icon-white"></i> {{ _("Edit") }}</a>
 {% endblock %}
 {% block body %}
   <div class="row-fluid">

+ 1 - 1
ffdnispdb/utils.py

@@ -39,6 +39,6 @@ def utcnow():
 
 def tosystemtz(d):
     """
-    Convert the UTC datetime ``d`` to the system time zone as defined in the config
+    Convert the UTC datetime ``d`` to the system time zone defined in the settings
     """
     return d.astimezone(pytz.timezone(current_app.config['SYSTEM_TIME_ZONE']))