highlighting menu items when clicked. collapsing questions and answers on the static content help sections.
removed unused help haml templates. put locales back to how they were and wrote a small js parser to swap in links to help views which have generated links in them. using locales text for help section headers.
This commit is contained in:
parent
afec5977e9
commit
da6b037f24
29 changed files with 221 additions and 662 deletions
|
|
@ -107,3 +107,16 @@ app.views.Base = Backbone.View.extend({
|
|||
}
|
||||
});
|
||||
|
||||
app.views.StaticContentView = app.views.Base.extend({
|
||||
|
||||
initialize : function(templateName, data) {
|
||||
this.templateName = templateName;
|
||||
this.data = data;
|
||||
|
||||
return this;
|
||||
},
|
||||
|
||||
presenter : function(){
|
||||
return this.data;
|
||||
},
|
||||
});
|
||||
|
|
@ -16,7 +16,6 @@ app.views.FaqQuestionView = app.views.Base.extend({
|
|||
},
|
||||
|
||||
afterRender: function(){
|
||||
console.log("Rendered yo")
|
||||
var el = $(this.el)
|
||||
el.find('.question.collapsible').removeClass('opened').addClass('collapsed');
|
||||
el.find('.answer').hide();
|
||||
|
|
|
|||
52
app/assets/javascripts/app/views/help_section_view.js
Normal file
52
app/assets/javascripts/app/views/help_section_view.js
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
app.views.HelpSectionView = app.views.StaticContentView.extend({
|
||||
|
||||
events: {
|
||||
"click .question.collapsible a.toggle" : "toggled"
|
||||
},
|
||||
|
||||
initialize : function(templateName, data, subs) {
|
||||
this.templateName = templateName;
|
||||
this.data = this.makeSubs(data, subs);
|
||||
|
||||
return this;
|
||||
},
|
||||
|
||||
afterRender: function() {
|
||||
// Hide all questions
|
||||
$(this.el).find('.question.collapsible').removeClass('opened').addClass('collapsed');
|
||||
$(this.el).find('.answer.hideable').hide();
|
||||
|
||||
// Show first question
|
||||
$(this.el).find('.question.collapsible :first').addClass('opened').removeClass('collapsed');
|
||||
$(this.el).find('.answer.hideable :first').show();
|
||||
},
|
||||
|
||||
toggled: function(e) {
|
||||
el = $(e.target);
|
||||
parent = el.parents('.question');
|
||||
|
||||
parent.children('.answer.hideable').toggle();
|
||||
parent.toggleClass('opened').toggleClass('collapsed');
|
||||
|
||||
e.preventDefault();
|
||||
},
|
||||
|
||||
makeSubs: function(locales, subs) {
|
||||
var self = this;
|
||||
|
||||
$.each( subs, function(k, vs){
|
||||
if (locales.hasOwnProperty(k)){
|
||||
$.each( vs, function(tag, rep){
|
||||
locales[k] = self.replace(locales[k], tag, rep);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
return locales;
|
||||
},
|
||||
|
||||
replace: function(theString, tag, replacement){
|
||||
return theString.replace("%{" + tag + "}", replacement);
|
||||
},
|
||||
|
||||
});
|
||||
|
|
@ -1,7 +1,6 @@
|
|||
//TODO RS: Would be nice to have #faq as the root elem or something
|
||||
app.views.Help = app.views.Base.extend({
|
||||
app.views.Help = app.views.StaticContentView.extend({
|
||||
templateName : "help",
|
||||
// className : "dark-header",
|
||||
|
||||
events : {
|
||||
"click .faq-link" : "sectionClicked",
|
||||
|
|
@ -11,13 +10,47 @@ app.views.Help = app.views.Base.extend({
|
|||
},
|
||||
|
||||
initialize : function(options) {
|
||||
// TODO RS: Set menu link text from js i18n
|
||||
// TODO RS: Highlight menu item on click
|
||||
// TODO RS: Hard coded links are not nice. Should be in a config or something.
|
||||
this.GETTING_HELP_SUBS = {
|
||||
getting_started_a: { tutorial_series: this.linkHtml("http://diasporafoundation.org/getting_started/sign_up", Diaspora.I18n.t( 'getting_started_tutorial' )) },
|
||||
get_support_a_website: { link: this.linkHtml("https://diasporafoundation.org/", Diaspora.I18n.t( 'foundation_website' ))},
|
||||
get_support_a_tutorials: { tutorials: this.linkHtml("https://diasporafoundation.org/tutorials", Diaspora.I18n.t( 'tutorials' ))},
|
||||
get_support_a_wiki: { link: this.linkHtml("https://wiki.diasporafoundation.org/Special:Search", Diaspora.I18n.t( 'wiki' ))},
|
||||
get_support_a_irc: { irc: this.linkHtml("https://wiki.diasporafoundation.org/How_We_Communicate#IRC", Diaspora.I18n.t( 'irc' ))},
|
||||
get_support_a_hashtag: { question: this.linkHtml("/tags/question", "#question")}, // TODO RS: Is this definitely hard coded?
|
||||
};
|
||||
|
||||
this.POSTS_AND_POSTING_SUBS = {
|
||||
format_text_a: {
|
||||
markdown: this.linkHtml("http://diasporafoundation.org/formatting", Diaspora.I18n.t( 'markdown' )),
|
||||
here: this.linkHtml("http://daringfireball.net/projects/markdown/syntax", Diaspora.I18n.t( 'here' )),
|
||||
}
|
||||
};
|
||||
|
||||
this.data = {
|
||||
title_getting_help: Diaspora.I18n.t( 'getting_help.title' ),
|
||||
title_account_and_data_management: Diaspora.I18n.t( 'account_and_data_management.title' ),
|
||||
title_aspects: Diaspora.I18n.t( 'aspects.title' ),
|
||||
title_mentions: Diaspora.I18n.t( 'mentions.title' ),
|
||||
title_pods: Diaspora.I18n.t( 'pods.title' ),
|
||||
title_posts_and_posting: Diaspora.I18n.t( 'posts_and_posting.title' ),
|
||||
title_private_posts: Diaspora.I18n.t( 'private_posts.title' ),
|
||||
title_private_profiles: Diaspora.I18n.t( 'private_profiles.title' ),
|
||||
title_public_posts: Diaspora.I18n.t( 'public_posts.title' ),
|
||||
title_public_profiles: Diaspora.I18n.t( 'public_profiles.title' ),
|
||||
title_resharing_posts: Diaspora.I18n.t( 'resharing_posts.title' ),
|
||||
title_sharing: Diaspora.I18n.t( 'sharing.title' ),
|
||||
title_tags: Diaspora.I18n.t( 'tags.title' ),
|
||||
title_miscellaneous: Diaspora.I18n.t( 'miscellaneous.title' ),
|
||||
}
|
||||
|
||||
return this;
|
||||
},
|
||||
|
||||
afterRender: function() {
|
||||
this.renderStaticSection("getting_help", "faq_getting_help");
|
||||
this.resetMenu(true);
|
||||
|
||||
this.renderStaticSection("getting_help", "faq_getting_help", this.GETTING_HELP_SUBS);
|
||||
},
|
||||
|
||||
showItems: function(el) {
|
||||
|
|
@ -45,40 +78,61 @@ app.views.Help = app.views.Base.extend({
|
|||
$('#faq .question.collapsible .answer :first').show();
|
||||
},
|
||||
|
||||
resetMenu: function(initial) {
|
||||
$('#faq_nav').find('.section-unselected').show();
|
||||
$('#faq_nav').find('.section-selected').hide();
|
||||
if(initial){
|
||||
$('#faq_nav').find('.section-unselected :first').hide();
|
||||
$('#faq_nav').find('.section-selected :first').show();
|
||||
}
|
||||
},
|
||||
|
||||
menuClicked: function(e) {
|
||||
this.resetMenu();
|
||||
$(e.target).hide();
|
||||
$(e.target).next().show();
|
||||
},
|
||||
|
||||
clearItems: function() {
|
||||
$('#faq').empty();
|
||||
},
|
||||
|
||||
sectionClicked : function(e) {
|
||||
this.menuClicked(e);
|
||||
this.showItems($(e.target));
|
||||
|
||||
e.preventDefault();
|
||||
},
|
||||
|
||||
renderStaticSection: function(section, template) {
|
||||
renderStaticSection: function(section, template, subs) {
|
||||
this.clearItems();
|
||||
data = Diaspora.I18n.locale[section];
|
||||
section = new app.views.StaticContentView(template, data);
|
||||
section = new app.views.HelpSectionView( template, data, subs );
|
||||
$('#faq').append(section.render().el);
|
||||
},
|
||||
|
||||
gettingHelp: function(e) {
|
||||
this.clearItems();
|
||||
this.renderStaticSection("getting_help", "faq_getting_help");
|
||||
this.renderStaticSection("getting_help", "faq_getting_help", this.GETTING_HELP_SUBS);
|
||||
this.menuClicked(e);
|
||||
|
||||
e.preventDefault();
|
||||
},
|
||||
|
||||
sharing: function(e) {
|
||||
this.clearItems();
|
||||
this.renderStaticSection("sharing", "faq_sharing");
|
||||
this.renderStaticSection("sharing", "faq_sharing", {});
|
||||
this.menuClicked(e);
|
||||
|
||||
e.preventDefault();
|
||||
},
|
||||
|
||||
postsAndPosting: function(e) {
|
||||
this.clearItems();
|
||||
this.renderStaticSection("posts_and_posting", "faq_posts_and_posting");
|
||||
this.renderStaticSection("posts_and_posting", "faq_posts_and_posting", this.POSTS_AND_POSTING_SUBS);
|
||||
this.menuClicked(e);
|
||||
|
||||
e.preventDefault();
|
||||
},
|
||||
|
||||
linkHtml: function(url, text) {
|
||||
return "<a href=\"" + url + "\" target=\"_blank\">" + text + "</a>";
|
||||
},
|
||||
});
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
app.views.StaticContentView = app.views.Base.extend({
|
||||
|
||||
events: {
|
||||
},
|
||||
|
||||
initialize : function(templateName, data) {
|
||||
this.templateName = templateName;
|
||||
this.data = data;
|
||||
|
||||
return this;
|
||||
},
|
||||
|
||||
presenter : function(){
|
||||
return this.data;
|
||||
},
|
||||
});
|
||||
|
|
@ -1,20 +1,20 @@
|
|||
<h1>diaspora* FAQ</h1>
|
||||
<br>
|
||||
<div class='question opened'>
|
||||
<h4>{{ getting_started_q }}</h4>
|
||||
<h4>{{ getting_started_q }}}</h4>
|
||||
<div class='answer'>
|
||||
{{ getting_started_a1 }} <a href="{{ getting_started_url }}" target="_blank">{{ getting_started_link }}</a> {{ getting_started_a2 }}
|
||||
{{{ getting_started_a }}}
|
||||
</div>
|
||||
</div>
|
||||
<div class='question opened'>
|
||||
<h4>{{ get_support_q }}</h4>
|
||||
<h4>{{{ get_support_q }}}</h4>
|
||||
<div class='answer'>
|
||||
<ul>
|
||||
<li>{{ get_support_a_website }} <a href="{{ get_support_a_website_url }}" target="_blank">{{ get_support_a_website_link }}</a></li>
|
||||
<li>{{ get_support_a_tutorials }} <a href="{{ get_support_a_tutorials_url }}" target="_blank">{{ get_support_a_tutorials_link }}</a></li>
|
||||
<li>{{ get_support_a_wiki }} <a href="{{ get_support_a_wiki_url }}" target="_blank">{{ get_support_a_wiki_link }}</a></li>
|
||||
<li>{{ get_support_a_irc_a }} <a href="{{ get_support_a_irc_url }}" target="_blank">{{ get_support_a_irc_link }}</a> {{ get_support_a_irc_b }} </li>
|
||||
<li>{{ get_support_a_hashtag_a }} <a href="{{ get_support_a_hashtag_url }}">{{ get_support_a_hashtag_link }}</a> {{ get_support_a_hashtag_b }}</li>
|
||||
<li>{{{ get_support_a_website }}}</li>
|
||||
<li>{{{ get_support_a_tutorials }}}</li>
|
||||
<li>{{{ get_support_a_wiki }}}</li>
|
||||
<li>{{{ get_support_a_irc }}}</li>
|
||||
<li>{{{ get_support_a_hashtag }}}</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -2,27 +2,27 @@
|
|||
<a class='toggle' href='#'>
|
||||
<h4>{{ hide_posts_q }}</h4>
|
||||
</a>
|
||||
<div class='answer'>{{ hide_posts_a }}</div>
|
||||
<div class='answer hideable'>{{ hide_posts_a }}</div>
|
||||
</div>
|
||||
<div class='question opened collapsible'>
|
||||
<a class='toggle' href='#'>
|
||||
<h4>{{ format_text_q }}</h4>
|
||||
</a>
|
||||
<div class='answer'>
|
||||
{{ format_text_a1 }} <a href="{{ format_text_url_1 }}" target="_blank">{{ format_text_link_1 }}</a>{{ format_text_a2 }} <a href="{{ format_text_url_2 }}" target="_blank">{{ format_text_link_2 }}</a>{{ format_text_a3 }}
|
||||
<div class='answer hideable'>
|
||||
{{{ format_text_a }}}
|
||||
</div>
|
||||
</div>
|
||||
<div class='question opened collapsible'>
|
||||
<a class='toggle' href='#'>
|
||||
<h4>{{ insert_images_q }}</h4>
|
||||
</a>
|
||||
<div class='answer'>{{ insert_images_a }}</div>
|
||||
<div class='answer hideable'>{{ insert_images_a }}</div>
|
||||
</div>
|
||||
<div class='question opened collapsible'>
|
||||
<a class='toggle' href='#'>
|
||||
<h4>{{ insert_images_comments_q }}</h4>
|
||||
</a>
|
||||
<div class='answer'>
|
||||
<div class='answer hideable'>
|
||||
{{ insert_images_comments_a1 }}
|
||||
<pre></pre>
|
||||
{{ insert_images_comments_a2 }}
|
||||
|
|
@ -32,31 +32,31 @@
|
|||
<a class='toggle' href='#'>
|
||||
<h4>{{ size_of_images_q }}</h4>
|
||||
</a>
|
||||
<div class='answer'>{{ size_of_images_a }}</div>
|
||||
<div class='answer hideable'>{{ size_of_images_a }}</div>
|
||||
</div>
|
||||
<div class='question opened collapsible'>
|
||||
<a class='toggle' href='#'>
|
||||
<h4>{{ embed_multimedia_q }}</h4>
|
||||
</a>
|
||||
<div class='answer'>{{ embed_multimedia_a }}</div>
|
||||
<div class='answer hideable'>{{ embed_multimedia_a }}</div>
|
||||
</div>
|
||||
<div class='question opened collapsible'>
|
||||
<a class='toggle' href='#'>
|
||||
<h4>{{ character_limit_q }}</h4>
|
||||
</a>
|
||||
<div class='answer'>{{ character_limit_a }}</div>
|
||||
<div class='answer hideable'>{{ character_limit_a }}</div>
|
||||
</div>
|
||||
<div class='question opened collapsible'>
|
||||
<a class='toggle' href='#'>
|
||||
<h4>{{ char_limit_services_q }}</h4>
|
||||
</a>
|
||||
<div class='answer'>{{ char_limit_services_a }}</div>
|
||||
<div class='answer hideable'>{{ char_limit_services_a }}</div>
|
||||
</div>
|
||||
<div class='question opened collapsible'>
|
||||
<a class='toggle' href='#'>
|
||||
<h4>{{ stream_full_of_posts_q }}</h4>
|
||||
</a>
|
||||
<div class='answer'>
|
||||
<div class='answer hideable'>
|
||||
{{ stream_full_of_posts_a1 }}
|
||||
<ol>
|
||||
<li>{{ stream_full_of_posts_li1 }}</li>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<a class='toggle' href='#'>
|
||||
<h4>{{ question }}</h4>
|
||||
</a>
|
||||
<div class='answer'>
|
||||
<div class='answer hideable'>
|
||||
{{ answer }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
<a class='toggle' href='#'>
|
||||
<h4>{{ add_to_aspect_q }}</h4>
|
||||
</a>
|
||||
<div class='answer'>
|
||||
<div class='answer hideable'>
|
||||
{{ add_to_aspect_a1 }}
|
||||
<ul>
|
||||
<li>{{ add_to_aspect_li1 }}</li>
|
||||
|
|
@ -20,17 +20,17 @@
|
|||
<a class='toggle' href='#'>
|
||||
<h4>{{ only_sharing_q }}</h4>
|
||||
</a>
|
||||
<div class='answer'>{{ only_sharing_a }}</div>
|
||||
<div class='answer hideable'>{{ only_sharing_a }}</div>
|
||||
</div>
|
||||
<div class='question opened collapsible'>
|
||||
<a class='toggle' href='#'>
|
||||
<h4>{{ list_not_sharing_q }}</h4>
|
||||
</a>
|
||||
<div class='answer'>{{ list_not_sharing_a }}</div>
|
||||
<div class='answer hideable'>{{ list_not_sharing_a }}</div>
|
||||
</div>
|
||||
<div class='question opened collapsible'>
|
||||
<a class='toggle' href='#'>
|
||||
<h4>{{ see_old_posts_q }}</h4>
|
||||
</a>
|
||||
<div class='answer'>{{ see_old_posts_a }}</div>
|
||||
<div class='answer hideable'>{{ see_old_posts_a }}</div>
|
||||
</div>
|
||||
|
|
@ -5,20 +5,62 @@
|
|||
<div class="span-5">
|
||||
<div id='faq_nav'>
|
||||
<ul>
|
||||
<li><a href="" class="faq-link-getting-help" data-section="getting_help" data-items="">Getting help</a></li>
|
||||
<li><a href="" class="faq-link" data-section="account_and_data_management" data-items="move_pods download_data close_account data_visible_to_podmin data_other_podmins">Account and data management</a></li>
|
||||
<li><a href="#" class="faq-link" data-section="aspects" data-items="what_is_an_aspect who_sees_post restrict_posts_i_see contacts_know_aspect contacts_visible remove_notification rename_aspect change_aspect_of_post post_multiple_aspects person_multiple_aspects delete_aspect">Aspects</a></li>
|
||||
<li><a href="#" class="faq-link" data-section="mentions" data-items="what_is_a_mention how_to_mention mention_in_comment see_mentions">Mentions</a></li>
|
||||
<li><a href="#" class="faq-link" data-section="pods" data-items="what_is_a_pod find_people use_search_box">Pods</a></li>
|
||||
<li><a href="#" class="faq-link-posts-and-posting" data-section="posts_and_posting" data-items="hide_posts format_text insert_images">Posts and posting</a></li>
|
||||
<li><a href="#" class="faq-link" data-section="private_posts" data-items="who_sees_post can_comment can_reshare see_comment">Private posts</a></li>
|
||||
<li><a href="#" class="faq-link" data-section="private_profiles" data-items="who_sees_profile whats_in_profile who_sees_updates">Private profiles</a></li>
|
||||
<li><a href="#" class="faq-link" data-section="public_posts" data-items="who_sees_post find_public_post can_comment_reshare_like see_comment_reshare_like deselect_aspect_posting">Public posts</a></li>
|
||||
<li><a href="#" class="faq-link" data-section="public_profiles" data-items="who_sees_profile whats_in_profile who_sees_updates what_do_tags_do">Public profiles</a></li>
|
||||
<li><a href="#" class="faq-link" data-section="resharing_posts" data-items="reshare_public_post_aspects reshare_private_post_aspects">Resharing posts</a></li>
|
||||
<li><a href="#" class="faq-link-sharing" data-section="sharing" data-items="">Sharing</a></li>
|
||||
<li><a href="#" class="faq-link" data-section="tags" data-items="what_are_tags_for tags_in_comments followed_tags people_tag_page filter_tags">Tags</a></li>
|
||||
<li><a href="#" class="faq-link" data-section="miscellaneous" data-items="back_to_top photo_albums subscribe_feed diaspora_app">Miscellaneous</a></li>
|
||||
<li>
|
||||
<a href="" class="section-unselected faq-link-getting-help" data-section="getting_help" data-items="">{{ title_getting_help }}</a>
|
||||
<span class="section-selected">{{ title_getting_help }}</span>
|
||||
</li>
|
||||
<li>
|
||||
<a href="" class="section-unselected faq-link" data-section="account_and_data_management" data-items="move_pods download_data close_account data_visible_to_podmin data_other_podmins">{{ title_account_and_data_management }}</a>
|
||||
<span class="section-selected">{{ title_account_and_data_management }}</span>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="section-unselected faq-link" data-section="aspects" data-items="what_is_an_aspect who_sees_post restrict_posts_i_see contacts_know_aspect contacts_visible remove_notification rename_aspect change_aspect_of_post post_multiple_aspects person_multiple_aspects delete_aspect">{{ title_aspects }}</a>
|
||||
<span class="section-selected">{{ title_aspects }}</span>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="section-unselected faq-link" data-section="mentions" data-items="what_is_a_mention how_to_mention mention_in_comment see_mentions">{{ title_mentions }}</a>
|
||||
<span class="section-selected">{{ title_mentions }}</span>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="section-unselected faq-link" data-section="pods" data-items="what_is_a_pod find_people use_search_box">{{ title_pods }}</a>
|
||||
<span class="section-selected">{{ title_pods }}</span>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="section-unselected faq-link-posts-and-posting" data-section="posts_and_posting" data-items="hide_posts format_text insert_images">{{ title_posts_and_posting }}</a>
|
||||
<span class="section-selected">{{ title_posts_and_posting }}</span>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="section-unselected faq-link" data-section="private_posts" data-items="who_sees_post can_comment can_reshare see_comment">{{ title_private_posts }}</a>
|
||||
<span class="section-selected">{{ title_private_posts }}</span>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="section-unselected faq-link" data-section="private_profiles" data-items="who_sees_profile whats_in_profile who_sees_updates">{{ title_private_profiles }}</a>
|
||||
<span class="section-selected">{{ title_private_profiles }}</span>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="section-unselected faq-link" data-section="public_posts" data-items="who_sees_post find_public_post can_comment_reshare_like see_comment_reshare_like deselect_aspect_posting">{{ title_public_posts }}</a>
|
||||
<span class="section-selected">{{ title_public_posts }}</span>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="section-unselected faq-link" data-section="public_profiles" data-items="who_sees_profile whats_in_profile who_sees_updates what_do_tags_do">{{ title_public_profiles }}</a>
|
||||
<span class="section-selected">{{ title_public_profiles }}</span>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="section-unselected faq-link" data-section="resharing_posts" data-items="reshare_public_post_aspects reshare_private_post_aspects">{{ title_resharing_posts }}</a>
|
||||
<span class="section-selected">{{ title_resharing_posts }}</span>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="section-unselected faq-link-sharing" data-section="sharing" data-items="">{{ title_sharing }}</a>
|
||||
<span class="section-selected">{{ title_sharing }}</span>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="section-unselected faq-link" data-section="tags" data-items="what_are_tags_for tags_in_comments followed_tags people_tag_page filter_tags">{{ title_tags }}</a>
|
||||
<span class="section-selected">{{ title_tags }}</span>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="section-unselected faq-link" data-section="miscellaneous" data-items="back_to_top photo_albums subscribe_feed diaspora_app">{{ title_miscellaneous }}</a>
|
||||
<span class="section-selected">{{ title_miscellaneous }}</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,17 +0,0 @@
|
|||
#faq_nav
|
||||
%ul
|
||||
%li= link_to_unless_current t('help.getting_help.title'), faq_getting_help_path
|
||||
%li= link_to_unless_current t('help.account_and_data_management.title'), faq_account_and_data_management_path, class: 'faq-link', data_items: ['move_pods', 'download_data', 'close_account', 'data_visible_to_podmin', 'data_other_podmins']
|
||||
%li= link_to_unless_current t('help.aspects.title'), faq_aspects_path
|
||||
%li= link_to_unless_current t('help.mentions.title'), faq_mentions_path
|
||||
%li= link_to_unless_current t('help.pods.title'), faq_pods_path
|
||||
%li= link_to_unless_current t('help.posts_and_posting.title'), faq_posts_and_posting_path
|
||||
%li= link_to_unless_current t('help.private_profiles.title'), faq_private_profiles_path
|
||||
%li= link_to_unless_current t('help.private_posts.title'), faq_private_posts_path
|
||||
%li= link_to_unless_current t('help.public_posts.title'), faq_public_posts_path
|
||||
%li= link_to_unless_current t('help.public_profiles.title'), faq_public_profiles_path
|
||||
%li= link_to_unless_current t('help.resharing_posts.title'), faq_resharing_posts_path
|
||||
%li= link_to_unless_current t('help.sharing.title'), faq_sharing_path
|
||||
%li= link_to_unless_current t('help.tags.title'), faq_tags_path
|
||||
%li= link_to_unless_current t('help.miscellaneous.title'), faq_miscellaneous_path
|
||||
%span.xxx this is text
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
%ul#help_nav
|
||||
%li= link_to_unless_current t('help.faq.title'), faq_path
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
-# Copyright (c) 2010-2011, Diaspora Inc. This file is
|
||||
-# licensed under the Affero General Public License version 3 or later. See
|
||||
-# the COPYRIGHT file.
|
||||
|
||||
- content_for :page_title do
|
||||
= t('_help')
|
||||
|
||||
#section_header
|
||||
%h2
|
||||
= t('_help')
|
||||
//= render('help_nav')
|
||||
.span-5
|
||||
= render('faq_nav')
|
||||
|
||||
.span-19.last#faq
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.move_pods_q')
|
||||
.answer= t('.move_pods_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.download_data_q')
|
||||
.answer= t('.download_data_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.close_account_q')
|
||||
.answer= t('.close_account_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.data_visible_to_podmin_q')
|
||||
.answer= t('.data_visible_to_podmin_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.data_other_podmins_q')
|
||||
.answer= t('.data_other_podmins_a')
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
-# Copyright (c) 2010-2011, Diaspora Inc. This file is
|
||||
-# licensed under the Affero General Public License version 3 or later. See
|
||||
-# the COPYRIGHT file.
|
||||
|
||||
- content_for :page_title do
|
||||
= t('_help')
|
||||
|
||||
#section_header
|
||||
%h2
|
||||
= t('_help')
|
||||
//= render('help_nav')
|
||||
.span-5
|
||||
= render('faq_nav')
|
||||
|
||||
.span-19.last#faq
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.move_pods_q')
|
||||
.answer= t('.move_pods_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.download_data_q')
|
||||
.answer= t('.download_data_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.close_account_q')
|
||||
.answer= t('.close_account_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.data_visible_to_podmin_q')
|
||||
.answer= t('.data_visible_to_podmin_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.data_other_podmins_q')
|
||||
.answer= t('.data_other_podmins_a')
|
||||
|
|
@ -1,59 +0,0 @@
|
|||
-# Copyright (c) 2010-2011, Diaspora Inc. This file is
|
||||
-# licensed under the Affero General Public License version 3 or later. See
|
||||
-# the COPYRIGHT file.
|
||||
|
||||
- content_for :page_title do
|
||||
= t('_help')
|
||||
|
||||
#section_header
|
||||
%h2
|
||||
= t('_help')
|
||||
//= render('help_nav')
|
||||
.span-5
|
||||
= render('faq_nav')
|
||||
|
||||
.span-19.last#faq
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.what_is_an_aspect_q')
|
||||
.answer= t('.what_is_an_aspect_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.who_sees_post_q')
|
||||
.answer= t('.who_sees_post_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.restrict_posts_i_see_q')
|
||||
.answer= t('.restrict_posts_i_see_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.contacts_know_aspect_q')
|
||||
.answer= t('.contacts_know_aspect_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.contacts_visible_q')
|
||||
.answer= t('.contacts_visible_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.remove_notification_q')
|
||||
.answer= t('.remove_notification_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.rename_aspect_q')
|
||||
.answer= t('.rename_aspect_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.change_aspect_of_post_q')
|
||||
.answer= t('.change_aspect_of_post_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.post_multiple_aspects_q')
|
||||
.answer= t('.post_multiple_aspects_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.person_multiple_aspects_q')
|
||||
.answer= t('.person_multiple_aspects_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.delete_aspect_q')
|
||||
.answer= t('.delete_aspect_a')
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
-# Copyright (c) 2010-2011, Diaspora Inc. This file is
|
||||
-# licensed under the Affero General Public License version 3 or later. See
|
||||
-# the COPYRIGHT file.
|
||||
|
||||
- content_for :page_title do
|
||||
= t('_help')
|
||||
|
||||
#section_header
|
||||
%h2
|
||||
= t('_help')
|
||||
//= render('help_nav')
|
||||
.span-5
|
||||
= render('faq_nav')
|
||||
|
||||
.span-19.last#faq
|
||||
%h1 diaspora* FAQ
|
||||
%br
|
||||
.question.opened
|
||||
%h4= t('.getting_started_q')
|
||||
.answer!= t('.getting_started_a', :tutorial_series => link_to(t('help.getting_started_tutorial'), 'http://diasporafoundation.org/getting_started/sign_up', :target => '_blank'))
|
||||
.question.opened
|
||||
%h4= t('.get_support_q')
|
||||
.answer
|
||||
%ul
|
||||
%li!= t('.get_support_a_website', :link => link_to(t('help.foundation_website'), 'https://diasporafoundation.org', :target => '_blank'))
|
||||
%li!= t('.get_support_a_tutorials', :tutorials => link_to(t('help.tutorials'), 'https://diasporafoundation.org/tutorials', :target => '_blank'))
|
||||
%li!= t('.get_support_a_wiki', :link => link_to(t('help.wiki'), 'https://wiki.diasporafoundation.org/Special:Search', :target => '_blank'))
|
||||
%li!= t('.get_support_a_irc', :irc => link_to(t('help.irc'), 'https://wiki.diasporafoundation.org/How_We_Communicate#IRC', :target => '_blank'))
|
||||
%li!= t('.get_support_a_hashtag', :question => link_to("#"+t('aspects.index.help.tag_question'), tag_path(:name => t('aspects.index.help.tag_question'))))
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
-# Copyright (c) 2010-2011, Diaspora Inc. This file is
|
||||
-# licensed under the Affero General Public License version 3 or later. See
|
||||
-# the COPYRIGHT file.
|
||||
|
||||
- content_for :page_title do
|
||||
= t('_help')
|
||||
|
||||
#section_header
|
||||
%h2
|
||||
= t('_help')
|
||||
//= render('help_nav')
|
||||
.span-5
|
||||
= render('faq_nav')
|
||||
|
||||
.span-19.last#faq
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.what_is_a_mention_q')
|
||||
.answer= t('.what_is_a_mention_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.how_to_mention_q')
|
||||
.answer= t('.how_to_mention_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.mention_in_comment_q')
|
||||
.answer= t('.mention_in_comment_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.see_mentions_q')
|
||||
.answer= t('.see_mentions_a')
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
-# Copyright (c) 2010-2011, Diaspora Inc. This file is
|
||||
-# licensed under the Affero General Public License version 3 or later. See
|
||||
-# the COPYRIGHT file.
|
||||
|
||||
- content_for :page_title do
|
||||
= t('_help')
|
||||
|
||||
#section_header
|
||||
%h2
|
||||
= t('_help')
|
||||
//= render('help_nav')
|
||||
.span-5
|
||||
= render('faq_nav')
|
||||
|
||||
.span-19.last#faq
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.back_to_top_q')
|
||||
.answer= t('.back_to_top_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.photo_albums_q')
|
||||
.answer= t('.photo_albums_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.subscribe_feed_q')
|
||||
.answer= t('.subscribe_feed_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.diaspora_app_q')
|
||||
.answer= t('.diaspora_app_a')
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
-# Copyright (c) 2010-2011, Diaspora Inc. This file is
|
||||
-# licensed under the Affero General Public License version 3 or later. See
|
||||
-# the COPYRIGHT file.
|
||||
|
||||
- content_for :page_title do
|
||||
= t('_help')
|
||||
|
||||
#section_header
|
||||
%h2
|
||||
= t('_help')
|
||||
//= render('help_nav')
|
||||
.span-5
|
||||
= render('faq_nav')
|
||||
|
||||
.span-19.last#faq
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.what_is_a_pod_q')
|
||||
.answer= t('.what_is_a_pod_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.find_people_q')
|
||||
.answer= t('.find_people_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.use_search_box_q')
|
||||
.answer= t('.use_search_box_a')
|
||||
|
|
@ -1,60 +0,0 @@
|
|||
-# Copyright (c) 2010-2011, Diaspora Inc. This file is
|
||||
-# licensed under the Affero General Public License version 3 or later. See
|
||||
-# the COPYRIGHT file.
|
||||
|
||||
- content_for :page_title do
|
||||
= t('_help')
|
||||
|
||||
#section_header
|
||||
%h2
|
||||
= t('_help')
|
||||
//= render('help_nav')
|
||||
.span-5
|
||||
= render('faq_nav')
|
||||
|
||||
.span-19.last#faq
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.hide_posts_q')
|
||||
.answer= t('.hide_posts_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.format_text_q')
|
||||
.answer!= t('.format_text_a', :markdown => link_to(t('help.markdown'), 'http://diasporafoundation.org/formatting', :target => '_blank'), :here => link_to(t('help.here'), 'http://daringfireball.net/projects/markdown/syntax', :target => '_blank'))
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.insert_images_q')
|
||||
.answer= t('.insert_images_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.insert_images_comments_q')
|
||||
.answer
|
||||
=t('.insert_images_comments_a1')
|
||||
%pre
|
||||
= ' + ')'
|
||||
=t('.insert_images_comments_a2')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.size_of_images_q')
|
||||
.answer= t('.size_of_images_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.embed_multimedia_q')
|
||||
.answer= t('.embed_multimedia_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.character_limit_q')
|
||||
.answer= t('.character_limit_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.char_limit_services_q')
|
||||
.answer= t('.char_limit_services_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.stream_full_of_posts_q')
|
||||
.answer
|
||||
= t('.stream_full_of_posts_a1')
|
||||
%ol
|
||||
%li= t('.stream_full_of_posts_li1')
|
||||
%li= t('.stream_full_of_posts_li2')
|
||||
%li= t('.stream_full_of_posts_li3')
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
-# Copyright (c) 2010-2011, Diaspora Inc. This file is
|
||||
-# licensed under the Affero General Public License version 3 or later. See
|
||||
-# the COPYRIGHT file.
|
||||
|
||||
- content_for :page_title do
|
||||
= t('_help')
|
||||
|
||||
#section_header
|
||||
%h2
|
||||
= t('_help')
|
||||
//= render('help_nav')
|
||||
.span-5
|
||||
= render('faq_nav')
|
||||
|
||||
.span-19.last#faq
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.who_sees_post_q')
|
||||
.answer= t('.who_sees_post_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.can_comment_q')
|
||||
.answer= t('.can_comment_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.can_reshare_q')
|
||||
.answer= t('.can_reshare_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.see_comment_q')
|
||||
.answer= t('.see_comment_a')
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
-# Copyright (c) 2010-2011, Diaspora Inc. This file is
|
||||
-# licensed under the Affero General Public License version 3 or later. See
|
||||
-# the COPYRIGHT file.
|
||||
|
||||
- content_for :page_title do
|
||||
= t('_help')
|
||||
|
||||
#section_header
|
||||
%h2
|
||||
= t('_help')
|
||||
//= render('help_nav')
|
||||
.span-5
|
||||
= render('faq_nav')
|
||||
|
||||
.span-19.last#faq
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.who_sees_profile_q')
|
||||
.answer= t('.who_sees_profile_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.whats_in_profile_q')
|
||||
.answer= t('.whats_in_profile_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.who_sees_updates_q')
|
||||
.answer= t('.who_sees_updates_a')
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
-# Copyright (c) 2010-2011, Diaspora Inc. This file is
|
||||
-# licensed under the Affero General Public License version 3 or later. See
|
||||
-# the COPYRIGHT file.
|
||||
|
||||
- content_for :page_title do
|
||||
= t('_help')
|
||||
|
||||
#section_header
|
||||
%h2
|
||||
= t('_help')
|
||||
//= render('help_nav')
|
||||
.span-5
|
||||
= render('faq_nav')
|
||||
|
||||
.span-19.last#faq
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.who_sees_post_q')
|
||||
.answer= t('.who_sees_post_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.find_public_post_q')
|
||||
.answer= t('.find_public_post_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.can_comment_reshare_like_q')
|
||||
.answer= t('.can_comment_reshare_like_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.see_comment_reshare_like_q')
|
||||
.answer= t('.see_comment_reshare_like_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.deselect_aspect_posting_q')
|
||||
.answer= t('.deselect_aspect_posting_a')
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
-# Copyright (c) 2010-2011, Diaspora Inc. This file is
|
||||
-# licensed under the Affero General Public License version 3 or later. See
|
||||
-# the COPYRIGHT file.
|
||||
|
||||
- content_for :page_title do
|
||||
= t('_help')
|
||||
|
||||
#section_header
|
||||
%h2
|
||||
= t('_help')
|
||||
//= render('help_nav')
|
||||
.span-5
|
||||
= render('faq_nav')
|
||||
|
||||
.span-19.last#faq
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.who_sees_profile_q')
|
||||
.answer= t('.who_sees_profile_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.whats_in_profile_q')
|
||||
.answer= t('.whats_in_profile_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.who_sees_updates_q')
|
||||
.answer= t('.who_sees_updates_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.what_do_tags_do_q')
|
||||
.answer= t('.what_do_tags_do_a')
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
-# Copyright (c) 2010-2011, Diaspora Inc. This file is
|
||||
-# licensed under the Affero General Public License version 3 or later. See
|
||||
-# the COPYRIGHT file.
|
||||
|
||||
- content_for :page_title do
|
||||
= t('_help')
|
||||
|
||||
#section_header
|
||||
%h2
|
||||
= t('_help')
|
||||
//= render('help_nav')
|
||||
.span-5
|
||||
= render('faq_nav')
|
||||
|
||||
.span-19.last#faq
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.reshare_public_post_aspects_q')
|
||||
.answer= t('.reshare_public_post_aspects_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.reshare_private_post_aspects_q')
|
||||
.answer= t('.reshare_private_post_aspects_a')
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
-# Copyright (c) 2010-2011, Diaspora Inc. This file is
|
||||
-# licensed under the Affero General Public License version 3 or later. See
|
||||
-# the COPYRIGHT file.
|
||||
|
||||
- content_for :page_title do
|
||||
= t('_help')
|
||||
|
||||
#section_header
|
||||
%h2
|
||||
= t('_help')
|
||||
//= render('help_nav')
|
||||
.span-5
|
||||
= render('faq_nav')
|
||||
|
||||
.span-19.last#faq
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.add_to_aspect_q')
|
||||
.answer
|
||||
= t('.add_to_aspect_a1')
|
||||
%ul
|
||||
%li=t('.add_to_aspect_li1')
|
||||
%li=t('.add_to_aspect_li2')
|
||||
%li=t('.add_to_aspect_li3')
|
||||
%li=t('.add_to_aspect_li4')
|
||||
%li=t('.add_to_aspect_li5')
|
||||
%li=t('.add_to_aspect_li6')
|
||||
%li=t('.add_to_aspect_li7')
|
||||
=t('.add_to_aspect_a2')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.only_sharing_q')
|
||||
.answer= t('.only_sharing_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.list_not_sharing_q')
|
||||
.answer= t('.list_not_sharing_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.see_old_posts_q')
|
||||
.answer= t('.see_old_posts_a')
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
-# Copyright (c) 2010-2011, Diaspora Inc. This file is
|
||||
-# licensed under the Affero General Public License version 3 or later. See
|
||||
-# the COPYRIGHT file.
|
||||
|
||||
- content_for :page_title do
|
||||
= t('_help')
|
||||
|
||||
#section_header
|
||||
%h2
|
||||
= t('_help')
|
||||
//= render('help_nav')
|
||||
.span-5
|
||||
= render('faq_nav')
|
||||
|
||||
.span-19.last#faq
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.what_are_tags_for_q')
|
||||
.answer= t('.what_are_tags_for_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.tags_in_comments_q')
|
||||
.answer= t('.tags_in_comments_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.followed_tags_q')
|
||||
.answer= t('.followed_tags_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.people_tag_page_q')
|
||||
.answer= t('.people_tag_page_a')
|
||||
.question.opened.collapsible
|
||||
%a.toggle{ :href => '#' }
|
||||
%h4= t('.filter_tags_q')
|
||||
.answer!= t('.filter_tags_a', :third_party_tools => link_to(t('help.third_party_tools'), 'https://wiki.diasporafoundation.org/Tools_to_use_with_Diaspora', :target => '_blank'))
|
||||
|
|
@ -378,28 +378,13 @@ en:
|
|||
getting_help:
|
||||
title: "Getting help"
|
||||
getting_started_q: "Help! I need some basic help to get me started!"
|
||||
getting_started_a1: "You're in luck. Try the "
|
||||
getting_started_a2: "on our project site. It will take you step-by-step through the registration process and teach you all the basic things you need to know about using diaspora*."
|
||||
getting_started_link: "'Getting started' tutorial series"
|
||||
getting_started_url: "http://diasporafoundation.org/getting_started/sign_up"
|
||||
getting_started_a: "You're in luck. Try the %{tutorial_series} on our project site. It will take you step-by-step through the registration process and teach you all the basic things you need to know about using diaspora*."
|
||||
get_support_q: "What if my question is not answered in this FAQ? Where else can I get support?"
|
||||
get_support_a_website: "visit our"
|
||||
get_support_a_website_link: "diaspora foundation website"
|
||||
get_support_a_website_url: "https://diasporafoundation.org"
|
||||
get_support_a_tutorials: "check out our"
|
||||
get_support_a_tutorials_link: "tutorials"
|
||||
get_support_a_tutorials_url: "https://diasporafoundation.org/tutorials"
|
||||
get_support_a_wiki: "search the"
|
||||
get_support_a_wiki_link: "wiki"
|
||||
get_support_a_wiki_url: "https://wiki.diasporafoundation.org/Special:Search"
|
||||
get_support_a_irc_a: "join us on"
|
||||
get_support_a_irc_b: "(Live chat)"
|
||||
get_support_a_irc_link: "IRC"
|
||||
get_support_a_irc_url: "https://wiki.diasporafoundation.org/How_We_Communicate#IRC"
|
||||
get_support_a_hashtag_a: "ask in a public post on diaspora* using the"
|
||||
get_support_a_hashtag_b: "hashtag"
|
||||
get_support_a_hashtag_link: "#question"
|
||||
get_support_a_hashtag_url: "/tags/question"
|
||||
get_support_a_website: "visit our %{link}"
|
||||
get_support_a_tutorials: "check out our %{tutorials}"
|
||||
get_support_a_wiki: "search the %{link}"
|
||||
get_support_a_irc: "join us on %{irc} (Live chat)"
|
||||
get_support_a_hashtag: "ask in a public post on diaspora* using the %{question} hashtag"
|
||||
account_and_data_management:
|
||||
title: "Account and data management"
|
||||
move_pods_q: "How do I move my seed (account) from one pod to another?"
|
||||
|
|
@ -459,13 +444,7 @@ en:
|
|||
hide_posts_q: "How do I hide a post? / How do I stop getting notifications about a post that I commented on?"
|
||||
hide_posts_a: "If you point your mouse at the top of a post, an X appears on the right. Click it to hide the post and mute notifications about it. You can still see the post if you visit the profile page of the person who posted it."
|
||||
format_text_q: "How can I format the text in my posts (bold, italics, etc.)?"
|
||||
format_text_a1: "By using a simplified system called "
|
||||
format_text_a2: ", you can find the full Markdown syntax "
|
||||
format_text_a3: ". The preview button is really helpful here, as you can see how your message will look before you share it."
|
||||
format_text_link_1: "Markdown"
|
||||
format_text_url_1: "http://diasporafoundation.org/formatting"
|
||||
format_text_link_2: "here"
|
||||
format_text_url_12: "http://daringfireball.net/projects/markdown/syntax"
|
||||
format_text_a: "By using a simplified system called %{markdown}. You can find the full Markdown syntax %{here}. The preview button is really helpful here, as you can see how your message will look before you share it."
|
||||
insert_images_q: "How do I insert images into posts?"
|
||||
insert_images_a: "Click the little camera icon to insert an image into a post. Press the photo icon again to add another photo, or you can select multiple photos to upload in one go."
|
||||
insert_images_comments_q: "Can I insert images into comments?"
|
||||
|
|
|
|||
|
|
@ -206,24 +206,9 @@ Diaspora::Application.routes.draw do
|
|||
get 'mobile/toggle', :to => 'home#toggle_mobile', :as => 'toggle_mobile'
|
||||
|
||||
# help
|
||||
get 'help' => 'help#getting_help', :as => 'faq_getting_help'
|
||||
|
||||
scope path: "/help/faq", :controller => :help, :as => 'faq' do
|
||||
get :account_and_data_management
|
||||
get :aspects
|
||||
get :mentions
|
||||
get :miscellaneous
|
||||
get :pods
|
||||
get :posts_and_posting
|
||||
get :private_posts
|
||||
get :private_profiles
|
||||
get :public_posts
|
||||
get :public_profiles
|
||||
get :resharing_posts
|
||||
get :sharing
|
||||
get :tags
|
||||
get :faq
|
||||
end
|
||||
get 'help/faq' => 'help#faq', :as => 'faq_getting_help'
|
||||
get 'help/faq' => 'help#faq', :as => 'faq'
|
||||
get 'help' => 'help#faq', :as => 'help'
|
||||
|
||||
#Protocol Url
|
||||
get 'protocol' => redirect("http://wiki.diasporafoundation.org/Federation_Protocol_Overview")
|
||||
|
|
|
|||
Loading…
Reference in a new issue