Add in check for edit perms before showing add/create button in empty state macro
This commit is contained in:
@@ -24,7 +24,8 @@
|
||||
message="You can manage multiple Applications within a single Portfolio as long as the funding sources are the same.",
|
||||
button_text="Create Your First Application",
|
||||
button_link=url_for("applications.view_new_application_step_1", portfolio_id=portfolio.id),
|
||||
view_only_text="Contact your portfolio administrator to add an application."
|
||||
view_only_text="Contact your portfolio administrator to add an application.",
|
||||
user_can_create=can_create_applications,
|
||||
) }}
|
||||
|
||||
{% else %}
|
||||
|
Reference in New Issue
Block a user