Skip to content

Commit

Permalink
Can now download an official version of OpenCOR from either the OpenC…
Browse files Browse the repository at this point in the history
…OR website or GitHub (closes #1154).
  • Loading branch information
agarny committed May 6, 2017
2 parents d4e2f7a + 80fe32c commit 2e9d166
Show file tree
Hide file tree
Showing 6 changed files with 369 additions and 197 deletions.
14 changes: 11 additions & 3 deletions doc/downloads/index.html
Expand Up @@ -19,12 +19,20 @@
<script type="text/javascript">
headerAndContentsMenu("Downloads", "..");

if (hasVersions()) {
document.write(" <p>\n");
document.write(" Official versions of OpenCOR can be found below, as well as on <a href=\"https://github.com/opencor/opencor/releases\">GitHub</a>.");

if (hasSnapshots())
document.write(" The latest snapshot can also be found below while previous snapshots can be found <a href=\"previousSnapshots.html\">here</a>.\n");

document.write(" </p>\n");
}

versions(true);
</script>

<p class="note">
previous snapshots can be found <a href="previousSnapshots.html">here</a>.
</p>
<p/>

<script type="text/javascript">
copyright("..");
Expand Down
2 changes: 1 addition & 1 deletion doc/downloads/index.js
Expand Up @@ -37,7 +37,7 @@ var jsonData = { "versions": [
}
],
"changes": [
{ "change": "<strong>General:</strong> now provide a mechanism to package and download pre-built libraries (see issue <a href=\"https://github.com/opencor/opencor/issues/1106\">#1106</a>)." }
{ "change": "<strong>General:</strong> now provide a mechanism to package and download pre-built libraries (see issue <a href=\"https://github.com/opencor/opencor/issues/1106\">#1106</a>). Can now download an official version of OpenCOR from either the OpenCOR website or GitHub (see issue <a href=\"https://github.com/opencor/opencor/issues/1154\">#1154</a>)." }
]
},
{ "major": 0, "minor": 4, "patch": 1, "day": 20, "month": 5, "year": 2015, "type": 0,
Expand Down
10 changes: 7 additions & 3 deletions doc/downloads/previousSnapshots.html
Expand Up @@ -18,13 +18,17 @@
<body ondragstart="return false;" ondrop="return false;">
<script type="text/javascript">
headerAndContentsMenu("Previous Snapshots", "..");
</script>

<p>
Previous snapshots of OpenCOR can be found below while official releases and the latest snapshot can be found <a href="index.html">here</a>.
</p>

<script type="text/javascript">
versions(false);
</script>

<p class="note">
official releases can be found <a href="index.html">here</a>.
</p>
<p/>

<script type="text/javascript">
copyright("..");
Expand Down

0 comments on commit 2e9d166

Please sign in to comment.