public inbox for [email protected]  
help / color / mirror / Atom feed
From: Murtuza Zabuawala <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: PATCH: To add 'submit a bug' link in help menu (pgAdmin4)
Date: Mon, 5 Sep 2016 11:18:57 +0530
Message-ID: <CAKKotZThuJbTJw4_jfD1knP_D5e1CHuU8b57GOud9FDZhDQVTQ@mail.gmail.com> (raw)
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgadmin-hackers>

Hi,

PFA minor patch to add option in menu for submitting new bugs for pgAdmin4.

--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


Attachments:

  [text/x-patch] add_report_bug_option.patch (1.5K, 3-add_report_bug_option.patch)
  download | inline diff:
diff --git a/web/pgadmin/help/__init__.py b/web/pgadmin/help/__init__.py
index 5d2e8a8..e6d53f5 100644
--- a/web/pgadmin/help/__init__.py
+++ b/web/pgadmin/help/__init__.py
@@ -43,7 +43,15 @@ class HelpModule(PgAdminModule):
                      priority=300,
                      target='_blank',
                      icon='fa fa-external-link',
-                     url='http://www.postgresql.org/')]}
+                     url='http://www.postgresql.org/'),
+
+            MenuItem(name='submit_pgadmin_bug',
+                     label=gettext('Submit Bug Report'),
+                     priority=400,
+                     target='_blank',
+                     icon='fa fa-bug',
+                     url=
+                     'https://redmine.postgresql.org/projects/pgadmin4/issues/new')]}
 
     def get_panels(self):
         return [
@@ -69,8 +77,16 @@ class HelpModule(PgAdminModule):
                 content='http://www.postgresql.org/'),
 
             Panel(
-                name='pnl_sql_help',
+                name='pnl_submit_bug',
                 priority=400,
+                title=gettext('Submit Bug Report'),
+                icon='fa fa-bug',
+                content=
+                'https://redmine.postgresql.org/projects/pgadmin4/issues/new'),
+
+            Panel(
+                name='pnl_sql_help',
+                priority=500,
                 isPrivate=True,
                 icon='fa fa-info',
                 title=gettext('SQL Help'))]


reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: PATCH: To add 'submit a bug' link in help menu (pgAdmin4)
  In-Reply-To: <CAKKotZThuJbTJw4_jfD1knP_D5e1CHuU8b57GOud9FDZhDQVTQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox