lingo: register manager page into combo (#6702)
This commit is contained in:
parent
7378aeaf88
commit
11725f31da
|
@ -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')}]
|
||||
|
|
Loading…
Reference in New Issue