Project

General

Profile

« Previous | Next » 

Revision 58471

[Connect|Trunk]

Add html page for connect (helptexts):
Publications
Add new html Pages per community (helptexts):
Projects and funding
National Bulletins
Content (moved from connect to separate page per community)
add the routes and the menu items for the above pages

Use htmlComponent for pages that their main content comes from helptexts
includes piwik, metatags and jsonld updates

Links to community pages: for production installation go to BETA

Remove unnused component AboutPageComponent

Piwik: add ids for new communities

Community page:
add check for communities without charts
add check if charts is Active

View differences:

app.component.ts
186 186
                  new MenuItem("", "Learn more", this.properties.claimsInformationLink, "", false, [], [], {})
187 187
                ]
188 188
              });
189
            this.menuItems.push(
190
              {
191
                rootItem: new MenuItem("about", "About", "", "", false, [], [], {}),
192
                items: [
193
                  new MenuItem("", "Supporting organizations", "", "/organizations", false, [], ["/organizations"], this.properties.environment != "development" ? {} : {communityId: community.communityId}),
194
                  new MenuItem("", "Gateway curators", "", "/curators", false, [], ["/curators"], this.properties.environment != "development" ? {} : {communityId: community.communityId}),
195
                  new MenuItem("", "Sources and methology", "", "/content", false, [], ["/content"], this.properties.environment != "development" ? {} : {communityId: community.communityId}),
196
                  new MenuItem("", "Projects and funding Opportunities", "", "/projects", false, [], ["/projects"], this.properties.environment != "development" ? {} : {communityId: community.communityId}),
197
                  new MenuItem("", "National Bulletins", "", "/national-bulletins", false, [], ["/national-bulletins"], this.properties.environment != "development" ? {} : {communityId: community.communityId}),
198
                  //new MenuItem("", "Subjects", "", "/subjects", false, [], ["/subjects"], this.properties.environment != "development" ? {} : {communityId: community.communityId}),
199
                ]
200
              });
189 201
            if (isCommunityManager) {
190 202
              this.menuItems.push(
191 203
                {
......
201 213
          this.menuItems = [];
202 214
          this.menuItems.push({
203 215
            rootItem: new MenuItem("about", "About", "", "/about/learn-how", false, [], null, {}),
204
            items: []
216
            items: [
217
              new MenuItem("", "Learn the process", "", "/about/learn-how", false, [], [], {}),
218
              new MenuItem("", "Publications", "", "/community-publications", false, [], ["/community-publications"], this.properties.environment != "development" ? {} : {communityId: community.communityId}),
219
              new MenuItem("", "Roadmap", "https://trello.com/b/yfzUz0kp/openaire-connect-dashboard", "", false, [], [], {}),
220
            ]
221

  
205 222
          });
206 223
          this.menuItems.push({
207 224
            rootItem: new MenuItem("communities", "Communities", "", "/search/find/communities", false, [], null, {}),

Also available in: Unified diff