[mb-commits] branch, mbs-3308, created. MBS-3308, always display "Open edits" link.

MusicBrainz Git Server <[email protected]>
Newsgroups gmane.comp.audio.musicbrainz.cvs
Message-ID <E1Te1st-0001Rw-AJ@wiley>
The branch, mbs-3308 has been created
        at  6027b1521b2273d5d980c01ac9dcdb4dc2736d43 (commit)

- Log -----------------------------------------------------------------
commit 6027b1521b2273d5d980c01ac9dcdb4dc2736d43
Author: warp <[email protected]>
Date:   Thu Nov 29 12:02:01 2012 +0100

    MBS-3308, always display "Open edits" link.

diff --git a/root/artist/layout.tt b/root/artist/layout.tt
index b838b8d..2c3fd6e 100644
--- a/root/artist/layout.tt
+++ b/root/artist/layout.tt
@@ -103,9 +103,7 @@
 
                   <hr/>
 
-                  [% IF artist.edits_pending %]
-                    <li>[% link_entity(artist, 'open_edits', l('Open edits')) %]</li>
-                  [% END %]
+                  <li>[% link_entity(artist, 'open_edits', l('Open edits')) %]</li>
                   <li>[% link_entity(artist, 'edits', l('Editing history')) %]</li>
                 [% END %]
             [% ELSE %]
diff --git a/root/label/layout.tt b/root/label/layout.tt
index 7fa578c..8e6fe87 100644
--- a/root/label/layout.tt
+++ b/root/label/layout.tt
@@ -77,9 +77,7 @@
 
                 <hr/>
 
-                [% IF label.edits_pending %]
-                  <li>[% link_entity(label, 'open_edits', l('Open edits')) %]</li>
-                [% END %]
+                <li>[% link_entity(label, 'open_edits', l('Open edits')) %]</li>
                 <li>[% link_entity(label, 'edits', l('Editing history')) %]</li>
             [% ELSE %]
                 <li>[% request_login(l('Log in to edit')) %]</li>
diff --git a/root/recording/layout.tt b/root/recording/layout.tt
index 7415218..8ddb28f 100644
--- a/root/recording/layout.tt
+++ b/root/recording/layout.tt
@@ -49,9 +49,7 @@
 
           <hr/>
 
-          [% IF recording.edits_pending %]
-            <li>[% link_entity(recording, 'open_edits', l('Open edits')) %]</li>
-          [% END %]
+          <li>[% link_entity(recording, 'open_edits', l('Open edits')) %]</li>
           <li>[% link_entity(recording, 'edits', l('Editing history')) %]</li>
           [% ELSE %]
           <li>[% request_login(l('Log in to edit')) %]</li>
diff --git a/root/release/sidebar.tt b/root/release/sidebar.tt
index 5ae40e3..5bc1c06 100644
--- a/root/release/sidebar.tt
+++ b/root/release/sidebar.tt
@@ -96,9 +96,7 @@
         <li>[% relate_to_url(release) %]</li>
         <hr/>
 
-        [% IF release.edits_pending %]
-          <li>[% link_entity(release, 'open_edits', l('Open edits')) %]</li>
-        [% END %]
+      <li>[% link_entity(release, 'open_edits', l('Open edits')) %]</li>
       <li>[% link_entity(release, 'edits', l('Editing history')) %]</li>
 
       [% ELSE %]
diff --git a/root/release_group/layout.tt b/root/release_group/layout.tt
index 1ff2064..4343446 100644
--- a/root/release_group/layout.tt
+++ b/root/release_group/layout.tt
@@ -65,9 +65,7 @@
 
                 <hr/>
 
-                [% IF rg.edits_pending %]
-                    <li>[% link_entity(rg, 'open_edits', l('Open edits')) %]</li>
-                [% END %]
+                <li>[% link_entity(rg, 'open_edits', l('Open edits')) %]</li>
                 <li>[% link_entity(rg, 'edits', l('Editing history')) %]</li>
             [% ELSE %]
                <li>[% request_login(l('Log in to edit')) %]</li>
diff --git a/root/url/layout.tt b/root/url/layout.tt
index 697627a..5ef9d5f 100644
--- a/root/url/layout.tt
+++ b/root/url/layout.tt
@@ -10,9 +10,7 @@
 
                 <hr/>
 
-                [% IF url.edits_pending %]
-                  <li>[% link_entity(url, 'open_edits', l('Open edits')) %]</li>
-                [% END %]
+                <li>[% link_entity(url, 'open_edits', l('Open edits')) %]</li>
                 <li>[% link_entity(url, 'edits', l('Editing history')) %]</li>
             [% ELSE %]
                 <li>[% request_login(l('Log in to edit')) %]</li>
diff --git a/root/work/layout.tt b/root/work/layout.tt
index 7f51ad0..1767f8f 100644
--- a/root/work/layout.tt
+++ b/root/work/layout.tt
@@ -49,9 +49,7 @@
 
                <hr/>
 
-               [% IF work.edits_pending %]
-                 <li>[% link_entity(work, 'open_edits', l('Open edits')) %]</li>
-               [% END %]
+               <li>[% link_entity(work, 'open_edits', l('Open edits')) %]</li>
                <li>[% link_entity(work, 'edits', l('Editing history')) %]</li>
             [% ELSE %]
                <li>[% request_login(l('Log in to edit')) %]</li>

-----------------------------------------------------------------------


hooks/post-receive
-- 
mb_server
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.