| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 5d167bf commit dfc27ab
33 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,7 +15,7 @@ import tools._ | |||
| 15 | 15 | case class CommercialPage() extends StandalonePage { | |
| 16 | 16 | override val metadata = MetaData.make( | |
| 17 | 17 | id = "commercial-templates", | |
| 18 | - sectionSummary = Some(SectionSummary.fromId("admin")), | ||
| 18 | + section = Some(SectionSummary.fromId("admin")), | ||
| 19 | 19 | webTitle = "Commercial Templates", | |
| 20 | 20 | analyticsName = "Commercial Templates", | |
| 21 | 21 | javascriptConfigOverrides = Map( | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,6 +5,6 @@ object AdminPage { | |||
| 5 | 5 | id = "admin-" + title, | |
| 6 | 6 | webTitle = title, | |
| 7 | 7 | analyticsName = "admin-page", | |
| 8 | - sectionSummary = Some(SectionSummary.fromId("admin")) | ||
| 8 | + section = Some(SectionSummary.fromId("admin")) | ||
| 9 | 9 | )) | |
| 10 | 10 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,7 +5,7 @@ | |||
| 5 | 5 | @main( | |
| 6 | 6 | SimplePage(MetaData.make( | |
| 7 | 7 | id = "commercial-templates", | |
| 8 | - sectionSummary = Some(SectionSummary.fromId("admin")), | ||
| 8 | + section = Some(SectionSummary.fromId("admin")), | ||
| 9 | 9 | webTitle = "Commercial Templates", | |
| 10 | 10 | analyticsName = "Commercial Templates" | |
| 11 | 11 | )) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,7 +15,7 @@ case class OfflineCrossword(crossword: CrosswordData) extends StandalonePage { | |||
| 15 | 15 | ||
| 16 | 16 | override val metadata = MetaData.make( | |
| 17 | 17 | id = "offline-crossword", | |
| 18 | - sectionSummary = None, | ||
| 18 | + section = None, | ||
| 19 | 19 | analyticsName = "offline-crossword", | |
| 20 | 20 | webTitle = "Unable to connect to the Internet") | |
| 21 | 21 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,7 +27,7 @@ object CrosswordSearchPage { | |||
| 27 | 27 | ||
| 28 | 28 | val metadata = MetaData.make ( | |
| 29 | 29 | id = "crosswords/search", | |
| 30 | - sectionSummary = Some(SectionSummary.fromId("crosswords")), | ||
| 30 | + section = Some(SectionSummary.fromId("crosswords")), | ||
| 31 | 31 | webTitle = "Crosswords search", | |
| 32 | 32 | analyticsName = "Crosswords search" | |
| 33 | 33 | ) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ package model | |||
| 3 | 3 | case class SubjectsListing() extends StandalonePage { | |
| 4 | 4 | override val metadata = MetaData.make( | |
| 5 | 5 | id = "index/subjects", | |
| 6 | - sectionSummary = Some(SectionSummary.fromId("Index")), | ||
| 6 | + section = Some(SectionSummary.fromId("Index")), | ||
| 7 | 7 | analyticsName = "Subjects", | |
| 8 | 8 | webTitle = "subjects", | |
| 9 | 9 | customSignPosting = Some(IndexNav.keywordsAlpha)) | |
@@ -12,7 +12,7 @@ case class SubjectsListing() extends StandalonePage { | |||
| 12 | 12 | case class ContributorsListing() extends StandalonePage { | |
| 13 | 13 | override val metadata = MetaData.make( | |
| 14 | 14 | id = "index/contributors", | |
| 15 | - sectionSummary = Some(SectionSummary.fromId("Index")), | ||
| 15 | + section = Some(SectionSummary.fromId("Index")), | ||
| 16 | 16 | analyticsName = "Contributors", | |
| 17 | 17 | webTitle = "contributors", | |
| 18 | 18 | customSignPosting = Some(IndexNav.contributorsAlpha)) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,7 +7,7 @@ object SubjectIndexPageMetaData { | |||
| 7 | 7 | ||
| 8 | 8 | def make(page: String): MetaData = MetaData.make( | |
| 9 | 9 | id = s"index/$indexFolder/$page", | |
| 10 | - sectionSummary = Some(SectionSummary.fromId(tagType)), | ||
| 10 | + section = Some(SectionSummary.fromId(tagType)), | ||
| 11 | 11 | analyticsName = tagType, | |
| 12 | 12 | webTitle = page.capitalize, | |
| 13 | 13 | customSignPosting = signPosting) | |
@@ -20,7 +20,7 @@ object ContributorsIndexPageMetaData { | |||
| 20 | 20 | ||
| 21 | 21 | def make(page: String): MetaData = MetaData.make( | |
| 22 | 22 | id = s"index/$indexFolder/$page", | |
| 23 | - sectionSummary = Some(SectionSummary.fromId(tagType)), | ||
| 23 | + section = Some(SectionSummary.fromId(tagType)), | ||
| 24 | 24 | analyticsName = tagType, | |
| 25 | 25 | webTitle = page.capitalize, | |
| 26 | 26 | customSignPosting = signPosting) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,7 +5,7 @@ import play.api.libs.json.JsBoolean | |||
| 5 | 5 | class PreferencesMetaData extends StandalonePage { | |
| 6 | 6 | override val metadata = MetaData.make( | |
| 7 | 7 | id = "preferences", | |
| 8 | - sectionSummary = Some(SectionSummary.fromId("Index")), | ||
| 8 | + section = Some(SectionSummary.fromId("Index")), | ||
| 9 | 9 | analyticsName = "Preferences", | |
| 10 | 10 | webTitle = "Preferences", | |
| 11 | 11 | javascriptConfigOverrides = Map("isPreferencesPage" -> JsBoolean(true))) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,7 +6,7 @@ import play.api.libs.json.JsString | |||
| 6 | 6 | class SudokuPage(val sudoku: Sudoku) extends StandalonePage { | |
| 7 | 7 | override val metadata = MetaData.make( | |
| 8 | 8 | id = sudoku.id, | |
| 9 | - sectionSummary = Some(SectionSummary.fromId("sudokus")), | ||
| 9 | + section = Some(SectionSummary.fromId("sudokus")), | ||
| 10 | 10 | analyticsName = sudoku.id, | |
| 11 | 11 | webTitle = sudoku.title, | |
| 12 | 12 | javascriptConfigOverrides = Map( | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -23,7 +23,7 @@ case class TestPage(specifiedKeywords : List[String] = Nil) extends model.Standa | |||
| 23 | 23 | override val metadata = MetaData.make( | |
| 24 | 24 | id = "1234567", | |
| 25 | 25 | description = None, | |
| 26 | - sectionSummary = Some(SectionSummary.fromId("Comercial components test page")), | ||
| 26 | + section = Some(SectionSummary.fromId("Comercial components test page")), | ||
| 27 | 27 | webTitle = webTitle, | |
| 28 | 28 | analyticsName = "analytics name", | |
| 29 | 29 | isFront = true, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments