forked from macagua/slc-sitioweb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #98 from ScrumLATAMComunidad/issues_66
Adding feactures froom Issues 66
- Loading branch information
Showing
13 changed files
with
1,335 additions
and
52 deletions.
There are no files selected for viewing
298 changes: 293 additions & 5 deletions
298
backend/src/slc_web/src/slc_web/locales/en/LC_MESSAGES/slc_web.po
Large diffs are not rendered by default.
Oops, something went wrong.
301 changes: 294 additions & 7 deletions
301
backend/src/slc_web/src/slc_web/locales/es/LC_MESSAGES/slc_web.po
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
96 changes: 96 additions & 0 deletions
96
backend/src/slc_web/src/slc_web/profiles/default/types/CommunityMember.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<object xmlns:i18n="http://xml.zope.org/namespaces/i18n" | ||
meta_type="Dexterity FTI" | ||
name="CommunityMember" | ||
i18n:domain="slc_web" | ||
> | ||
|
||
<!-- Basic properties --> | ||
<property name="title" | ||
i18n:translate="" | ||
>Community Member</property> | ||
<property name="description" | ||
i18n:translate="" | ||
>A Community Member</property> | ||
<property name="icon_expr">string:person-add</property> | ||
<property name="factory">CommunityMember</property> | ||
<property name="link_target" /> | ||
|
||
<!-- Hierarchy control --> | ||
<property name="filter_content_types">True</property> | ||
<property name="allowed_content_types" /> | ||
<property name="global_allow">True</property> | ||
|
||
<!-- Schema, class and security --> | ||
<property name="allow_discussion">False</property> | ||
<property name="add_permission">slc_web.communitymember.add</property> | ||
<property name="klass">plone.dexterity.content.Item</property> | ||
<property name="model_file">slc_web.schema:communitymember.xml</property> | ||
<property name="schema" /> | ||
<property name="model_source" /> | ||
<property name="schema_policy">dexterity</property> | ||
|
||
<!-- Enabled behaviors --> | ||
<property name="behaviors" | ||
purge="false" | ||
> | ||
<!-- Details about all standard behaviors following can be read at | ||
https://6.docs.plone.org/backend/behaviors.html | ||
--> | ||
<element value="plone.categorization" /> | ||
<element value="plone.textindexer" /> | ||
<element value="plone.namefromtitle" /> | ||
</property> | ||
|
||
<!-- View information --> | ||
<property name="add_view_expr">string:${folder_url}/++add++CommunityMember</property> | ||
<property name="default_view">view</property> | ||
<property name="default_view_fallback">False</property> | ||
<property name="immediate_view">view</property> | ||
<property name="view_methods"> | ||
<element value="view" /> | ||
</property> | ||
|
||
<!-- Method aliases --> | ||
<alias from="(Default)" | ||
to="(dynamic view)" | ||
/> | ||
<alias from="edit" | ||
to="@@edit" | ||
/> | ||
<alias from="sharing" | ||
to="@@sharing" | ||
/> | ||
<alias from="view" | ||
to="(selected layout)" | ||
/> | ||
|
||
<!-- Actions --> | ||
<action action_id="view" | ||
category="object" | ||
condition_expr="" | ||
icon_expr="string:toolbar-action/view" | ||
link_target="" | ||
title="View" | ||
url_expr="string:${object_url}" | ||
visible="True" | ||
i18n:attributes="title" | ||
i18n:domain="plone" | ||
> | ||
<permission value="View" /> | ||
</action> | ||
<action action_id="edit" | ||
category="object" | ||
condition_expr="not:object/@@plone_lock_info/is_locked_for_current_user|python:True" | ||
icon_expr="string:toolbar-action/edit" | ||
link_target="" | ||
title="Edit" | ||
url_expr="string:${object_url}/edit" | ||
visible="True" | ||
i18n:attributes="title" | ||
i18n:domain="plone" | ||
> | ||
<permission value="Modify portal content" /> | ||
</action> | ||
|
||
</object> |
Oops, something went wrong.