Revision 984fec93 snf-astakos-app/astakos/im/api/__init__.py

b/snf-astakos-app/astakos/im/api/__init__.py
46 46
from astakos.im.api.faults import (
47 47
    Fault, ItemNotFound, InternalServerError, BadRequest)
48 48
from astakos.im.settings import (
49
    INVITATIONS_ENABLED, COOKIE_NAME, EMAILCHANGE_ENABLED, QUOTAHOLDER_URL)
49
    INVITATIONS_ENABLED, COOKIE_NAME, EMAILCHANGE_ENABLED, QUOTAHOLDER_URL,
50
    PROJECTS_VISIBLE)
50 51
from astakos.im.forms import FeedbackForm
51 52
from astakos.im.functions import send_feedback as send_feedback_func
52 53

  
......
156 157
            append(item(
157 158
                   url=absolute(request, reverse('resource_usage')),
158 159
                   name="Usage"))
159
            if QUOTAHOLDER_URL:
160
            if QUOTAHOLDER_URL and PROJECTS_VISIBLE:
160 161
                append(item(
161 162
                       url=absolute(request, reverse('project_list')),
162 163
                       name="Projects"))

Also available in: Unified diff