changeset 59a1f12601b4 in bugs.tryton.org:default
details: https://hg.tryton.org/bugs.tryton.org?cmd=changeset&node=59a1f12601b4
description:
        Update to roundup 2.1
diffstat:

 config.ini                  |  3 +++
 html/issue.item.edit.html   |  1 +
 html/issue.item.html        |  7 +++----
 html/layout/navigation.html |  2 +-
 html/user.item.html         |  2 ++
 static/style.css            |  8 --------
 6 files changed, 10 insertions(+), 13 deletions(-)

diffs (101 lines):

diff -r 7646ee149739 -r 59a1f12601b4 config.ini
--- a/config.ini        Sun Sep 05 02:07:37 2021 +0200
+++ b/config.ini        Sat Dec 18 14:13:31 2021 +0100
@@ -921,3 +921,6 @@
 # a link to the tracker's download page for the file.
 # Default: 9223372036854775807
 max_attachment_size = 2147483647
+
+[markdown]
+break_on_newline = true
diff -r 7646ee149739 -r 59a1f12601b4 html/issue.item.edit.html
--- a/html/issue.item.edit.html Sun Sep 05 02:07:37 2021 +0200
+++ b/html/issue.item.edit.html Sat Dec 18 14:13:31 2021 +0100
@@ -7,6 +7,7 @@
       {% endif -%}
       name="itemSynopsis"
       enctype="multipart/form-data"
+      class="col-xl-8" 
   >
   <fieldset>
     <dl class="row row-cols-1 row-cols-lg-2 no-gutters">
diff -r 7646ee149739 -r 59a1f12601b4 html/issue.item.html
--- a/html/issue.item.html      Sun Sep 05 02:07:37 2021 +0200
+++ b/html/issue.item.html      Sat Dec 18 14:13:31 2021 +0100
@@ -34,7 +34,8 @@
       var toolbar = ['bold', 'italic', 'heading', '|', 'code', 'quote', 
'unordered-list', 'ordered-list', '|', 'link', 'image', '|', 'preview', 
'side-by-side', 'fullscreen', '|', 'guide'];
       var initSimpleMde = function () {
         node.parentNode.appendChild($('<input/>', { type: 'hidden', name: 
'msg-1@type', value: 'text/markdown'})[0]);
-        var simplemde = new SimpleMDE({ element: node, status: false, 
styleSelectedText: false, toolbar: toolbar });
+        var simplemde = new SimpleMDE({ element: node, status: false, toolbar: 
toolbar,
+      styleSelectedText: false, renderingConfig: {singleLineBreaks: {{ 
config.MARKDOWN_BREAK_ON_NEWLINE and 'true' or 'false' }} }});
         simplemde.render();
       };
       {% if context.id %}
@@ -56,9 +57,7 @@
 
   {% if context.is_view_ok() %}
     {% if context.is_edit_ok() %}
-      <div class="container ml-0">
       {% include 'issue.item.edit.html' %}
-      </div>
     {% else %}
       {% include 'issue.item.readonly.html' %}
     {% endif %}
@@ -82,7 +81,7 @@
     {% for msg in context.messages.reverse() %}
       {% if msg.author.username not in bots %}
       <div class="anchor"  id="msg{{ msg.id }}"></div>
-      <div class="row row-cols-1 row-cols-md-4 mt-4" style="margin-left: 
45px;">
+      <div class="row row-cols-1 row-cols-md-4" style="margin-left: 45px;">
         <div class="col col-md-auto">
           <a href='issue{{ context.id }}#msg{{ msg.id }}'>msg{{msg.id}}</a>
           <a href='msg{{ msg.id }}'>(view)</a>
diff -r 7646ee149739 -r 59a1f12601b4 html/layout/navigation.html
--- a/html/layout/navigation.html       Sun Sep 05 02:07:37 2021 +0200
+++ b/html/layout/navigation.html       Sat Dec 18 14:13:31 2021 +0100
@@ -197,6 +197,6 @@
     <i class='icon-bookmark'></i>{% trans %}Help{% endtrans %}
   </li>
   <li>
-    <a href="http://www.roundup-tracker.org";>Roundup docs</a>
+    <a href="https://www.roundup-tracker.org";>Roundup docs</a>
   </li>
 </ul>
diff -r 7646ee149739 -r 59a1f12601b4 html/user.item.html
--- a/html/user.item.html       Sun Sep 05 02:07:37 2021 +0200
+++ b/html/user.item.html       Sat Dec 18 14:13:31 2021 +0100
@@ -85,6 +85,7 @@
             <input class="form-control"  type='text' name='organisation' 
value='{{ context.organisation.plain()|u }}'>
           </td>
         </tr>
+        {% if context.timezone %}
         <tr>
           <th>{% trans %}Timezone{% endtrans %}</th>
           <td>
@@ -102,6 +103,7 @@
             {% endwith %}
           </td>
         </tr>
+        {% endif %}
         <tr>
             <th>{% trans %}New Issue Copy{% endtrans %}</th>
             <td class="form-inline">
diff -r 7646ee149739 -r 59a1f12601b4 static/style.css
--- a/static/style.css  Sun Sep 05 02:07:37 2021 +0200
+++ b/static/style.css  Sat Dec 18 14:13:31 2021 +0100
@@ -139,14 +139,6 @@
   text-decoration: line-through !important;
 }
 
-@media (max-width: 767.98px) {
-  .history {
-    display: block;
-    width: 100%;
-    overflow-x: auto;
-  }
-}
-
 .editor-toolbar.fullscreen,
 .CodeMirror-fullscreen {
   z-index: 2000 !important;

Reply via email to