lingo: register manager page into combo (#6702)

This commit is contained in:
Frédéric Péters 2015-03-11 15:50:53 +01:00
parent 7378aeaf88
commit 11725f31da
1 changed files with 7 additions and 0 deletions

View File

@ -14,6 +14,9 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from django.core.urlresolvers import reverse
from django.utils.translation import ugettext as _
class Plugin(object):
def get_apps(self):
return [__name__]
@ -21,3 +24,7 @@ class Plugin(object):
def get_before_urls(self):
from . import urls
return urls.urlpatterns
def get_extra_manager_actions(self):
return [{'href': reverse('lingo-manager-homepage'),
'text': _('Online Payment')}]