-
Notifications
You must be signed in to change notification settings - Fork 175
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 #1039 from junaidrsd/feature-option-show-markup-se…
…ction Feature option show markup section
- Loading branch information
Showing
9 changed files
with
69 additions
and
44 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,32 +1,34 @@ | ||
<article | ||
sg-section | ||
ng-repeat="section in sections.data | filter: filterSections | filter: search"> | ||
</article> | ||
<div class="sg sg-section-links" ng-repeat="section in sections.data | filter: filterMainSections()" ng-if="isMainSection(section) && isActive(section)"> | ||
<a class="sg sg-section-link" | ||
ng-class="{ 'active': (currentSection === section.reference), 'sub-active': (currentSection.indexOf(section.reference + '.') === 0) }" | ||
ng-click="clearSearch()" | ||
ui-sref="app.index.section({section: section.reference})"> | ||
</a> | ||
<ul class="sg sg-subsection-links"> | ||
<li class="sg sg-section-list-item" ng-repeat="subsection in sections.data | filter: filterSubsections(section)"> | ||
<a class="sg sg-section-link" | ||
ng-class="currentSection === subsection.reference ? 'active' : ''" | ||
ng-click="clearSearch()" | ||
ui-sref="app.index.section({section: subsection.reference})"> | ||
<span class="sg-ref">{{ subsection.reference }}</span> <span ng-bind-html="subsection.header | unsafe"></span> | ||
<ul class="sg sg-nav-subsubsection sg-subsubsection-links"> | ||
<li class="sg sg-section-list-item" ng-repeat="subsubsection in sections.data | filter: filterSubsections(subsection)"> | ||
<a class="sg sg-section-link" | ||
ng-class="currentSection === subsubsection.reference ? 'active' : ''" | ||
ng-click="clearSearch()" | ||
ui-sref="app.index.section({section: subsubsection.reference})"> | ||
<span class="sg-ref">{{ subsubsection.reference }}</span> <span ng-bind-html="subsubsection.header | unsafe"></span> | ||
</a> | ||
</li> | ||
</ul> | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
<section class="sg sg-after-sections" ng-bind-html="config.data.afterSections | unsafe"></section> | ||
<section class="sg sg-sections"> | ||
<article | ||
sg-section | ||
ng-repeat="section in sections.data | filter: filterSections | filter: search"> | ||
</article> | ||
<section class="sg sg-section-links" ng-repeat="section in sections.data | filter: filterMainSections()" ng-if="isMainSection(section) && isActive(section)"> | ||
<a class="sg sg-section-link" | ||
ng-class="{ 'active': (currentSection === section.reference), 'sub-active': (currentSection.indexOf(section.reference + '.') === 0) }" | ||
ng-click="clearSearch()" | ||
ui-sref="app.index.section({section: section.reference})"> | ||
</a> | ||
<ul class="sg sg-subsection-links"> | ||
<li class="sg sg-section-list-item" ng-repeat="subsection in sections.data | filter: filterSubsections(section)"> | ||
<a class="sg sg-section-link" | ||
ng-class="currentSection === subsection.reference ? 'active' : ''" | ||
ng-click="clearSearch()" | ||
ui-sref="app.index.section({section: subsection.reference})"> | ||
<span class="sg-ref">{{ subsection.reference }}</span> <span ng-bind-html="subsection.header | unsafe"></span> | ||
<ul class="sg sg-nav-subsubsection sg-subsubsection-links"> | ||
<li class="sg sg-section-list-item" ng-repeat="subsubsection in sections.data | filter: filterSubsections(subsection)"> | ||
<a class="sg sg-section-link" | ||
ng-class="currentSection === subsubsection.reference ? 'active' : ''" | ||
ng-click="clearSearch()" | ||
ui-sref="app.index.section({section: subsubsection.reference})"> | ||
<span class="sg-ref">{{ subsubsection.reference }}</span> <span ng-bind-html="subsubsection.header | unsafe"></span> | ||
</a> | ||
</li> | ||
</ul> | ||
</a> | ||
</li> | ||
</ul> | ||
</section> | ||
</section> | ||
<section class="sg sg-after-sections" ng-bind-html="config.data.afterSections | unsafe"></section> |
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
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