Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Commit

Permalink
Merge pull request #147 from mbwhite/bug-support
Browse files Browse the repository at this point in the history
remove slack refernces
  • Loading branch information
Jakeeyturner authored Feb 10, 2017
2 parents 1793f51 + 970c6fa commit 1c1b760
Show file tree
Hide file tree
Showing 234 changed files with 489 additions and 87,908 deletions.
21 changes: 21 additions & 0 deletions site/deleteme
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{% highlightc javascript%}

'use strict';

/** Process a property that is held for sale
* @param {net.biz.digitalPropertyNetwork.RegisterPropertyForSale} propertyForSale the property to be sold
* @transaction
*/
function onRegisterPropertyForSale(propertyForSale) {
console.log('### onRegisterPropertyForSale ' + propertyForSale.toString());
propertyForSale.title.forSale = true;

/* new line is here to update the information */
propertyForSale.title.information = propertyForSale.title.information + ' Updated at: ' + new Date().toDateString();

return getAssetRegistry('net.biz.digitalPropertyNetwork.LandTitle').then(function(result) {
return result.update(propertyForSale.title);
}
);
}
{% endhighlightc %}
8 changes: 8 additions & 0 deletions site/jekylldocs/_layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,12 @@
<!-- Bootstrap Core JavaScript -->
<script src="{{site.baseurl}}/assets/js/bootstrap.js"></script>

<script>

$( document ).ready(function() {
new Clipboard(".btn");
});

</script>

</html>
4 changes: 2 additions & 2 deletions site/jekylldocs/_layouts/support.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ <h1 class="page-header">
</h1>
</div>
<div class="col-lg-12">
<p>We're building a community to help with Fabric Composer, either request an id on Slack or ask a question in Stackoverflow.</p>
<p>We're building a community to help with Fabric Composer, either chat on Rocket.chat or ask a question in Stackoverflow.</p>
</div>
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading">
<h4><i class="fa fa-fw fa-slack"></i> Discuss on Rocket Chat</h4>
<h4><i class="fa fa-fw fa-rocket"></i> Discuss on Rocket Chat</h4>
</div>
<div class="panel-body">
<p>For discussions, we use the fabric-composer channel on the Hyperledger hosted <a href="https://chat.hyperledger.org/home">Rocket.chat</a></p>
Expand Down
4 changes: 3 additions & 1 deletion site/jekylldocs/_plugins/highlightc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ def render(context)
end

rendered_output = add_code_tag(output,originalcode)
prefix + rendered_output + suffix + "<button class=\"btn\" data-clipboard-text=\"#{originalcode}\">Copy to clipboard</button>"
codeId = "cc1"

prefix + rendered_output + suffix + "<pre style=\"visibility:hidden;\" id=\"c1\">#{originalcode}</pre><button class=\"btn\" data-clipboard-target=\"#c1\">Copy to clipboard</button>"
end

def sanitized_opts(opts, is_safe)
Expand Down
8 changes: 8 additions & 0 deletions site/jekylldocs/_site/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,12 @@ <h1>Hey - looks like someone turned the lights off!</h1>
<!-- Bootstrap Core JavaScript -->
<script src="/assets/js/bootstrap.js"></script>

<script>

$( document ).ready(function() {
new Clipboard(".btn");
});

</script>

</html>
8 changes: 8 additions & 0 deletions site/jekylldocs/_site/concepts/businessnetwork.html
Original file line number Diff line number Diff line change
Expand Up @@ -239,4 +239,12 @@ <h2 id="related-reference">Related Reference</h2>
<!-- Bootstrap Core JavaScript -->
<script src="/assets/js/bootstrap.js"></script>

<script>

$( document ).ready(function() {
new Clipboard(".btn");
});

</script>

</html>
8 changes: 8 additions & 0 deletions site/jekylldocs/_site/concepts/businessnetworkdefinition.html
Original file line number Diff line number Diff line change
Expand Up @@ -216,4 +216,12 @@ <h1 id="business-network-definition">Business Network Definition</h1>
<!-- Bootstrap Core JavaScript -->
<script src="/assets/js/bootstrap.js"></script>

<script>

$( document ).ready(function() {
new Clipboard(".btn");
});

</script>

</html>
8 changes: 8 additions & 0 deletions site/jekylldocs/_site/concepts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,4 +203,12 @@ <h2 id="concepts-overview">Concepts - Overview</h2>
<!-- Bootstrap Core JavaScript -->
<script src="/assets/js/bootstrap.js"></script>

<script>

$( document ).ready(function() {
new Clipboard(".btn");
});

</script>

</html>
8 changes: 8 additions & 0 deletions site/jekylldocs/_site/concepts/participantsandidentities.html
Original file line number Diff line number Diff line change
Expand Up @@ -259,4 +259,12 @@ <h2 id="related-reference">Related Reference</h2>
<!-- Bootstrap Core JavaScript -->
<script src="/assets/js/bootstrap.js"></script>

<script>

$( document ).ready(function() {
new Clipboard(".btn");
});

</script>

</html>
8 changes: 8 additions & 0 deletions site/jekylldocs/_site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -231,4 +231,12 @@ <h4><i class="fa fa-fw fa-puzzle-piece"></i> Composer (coming soon)</h4>
<!-- Bootstrap Core JavaScript -->
<script src="/assets/js/bootstrap.js"></script>

<script>

$( document ).ready(function() {
new Clipboard(".btn");
});

</script>

</html>
Loading

0 comments on commit 1c1b760

Please sign in to comment.