This repository has been archived by the owner on Mar 15, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 193
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 #50 from ednapiranha/bug847554
added privacy policy stub (bug 847554)
- Loading branch information
Showing
3 changed files
with
20 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,9 @@ | ||
define('views/app/privacy', [], function() { | ||
|
||
return function(builder, args) { | ||
builder.start('detail/privacy.html', {slug: args[0]}); | ||
|
||
builder.z('type', 'leaf'); | ||
builder.z('title', 'Privacy Policy'); // No L10n for you! | ||
}; | ||
}); |
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,11 @@ | ||
<div class="main privacy-policy infobox c"> | ||
<div> | ||
<h3>{{ _('Privacy Policy') }}</h3> | ||
{% defer (url=api('app', [slug])) %} | ||
<p>{{ this.privacy_policy }}</p> | ||
|
||
{% placeholder %} | ||
<p>{{ _('Loading privacy policy...') }}</p> | ||
{% end %} | ||
</div> | ||
</div> |