aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEgil Moeller <egil.moller@freecode.no>2010-03-12 21:35:03 +0100
committerEgil Moeller <egil.moller@freecode.no>2010-03-12 21:35:03 +0100
commitb47214788eae996a9aa6ce7aff1755208ce1f289 (patch)
treeeacc87eb03c07dc45e41639be57121adb7bc9a68
parent1bfcde5f269fe005e70a4eea176d71bac0f42dcb (diff)
downloadetherpad-b47214788eae996a9aa6ce7aff1755208ce1f289.tar.gz
etherpad-b47214788eae996a9aa6ce7aff1755208ce1f289.tar.xz
etherpad-b47214788eae996a9aa6ce7aff1755208ce1f289.zip
Changed the homepage to be the tag search page
Diffstat (limited to '')
-rw-r--r--trunk/etherpad/src/main.js4
-rw-r--r--trunk/etherpad/src/templates/tag/tag_search.ejs4
2 files changed, 5 insertions, 3 deletions
diff --git a/trunk/etherpad/src/main.js b/trunk/etherpad/src/main.js
index 61e365f..0bba1f0 100644
--- a/trunk/etherpad/src/main.js
+++ b/trunk/etherpad/src/main.js
@@ -363,7 +363,7 @@ function handlePath() {
[PrefixMatcher('/static/'), forward(static_control)],
[PrefixMatcher('/ep/genimg/'), genimg.renderPath],
[PrefixMatcher('/ep/pad/'), forward(pad_control)],
- [PrefixMatcher('/ep/tag/'), forward(tag_control)],
+ [PrefixMatcher('/ep/tag'), forward(tag_control)],
[PrefixMatcher('/ep/script/'), forward(scriptcontrol)],
[/^\/([^\/]+)$/, pad_control.render_pad],
[DirMatcher('/ep/unit-tests/'), forward(testcontrol)],
@@ -373,7 +373,7 @@ function handlePath() {
var etherpadDotComDispatcher = new Dispatcher();
etherpadDotComDispatcher.addLocations([
- ['/', maincontrol.render_main],
+ ['/', forward(tag_control)], // maincontrol.render_main],
[DirMatcher('/ep/beta-account/'), forward(pro_beta_control)],
[DirMatcher('/ep/pro-signup/'), forward(pro_signup_control)],
[DirMatcher('/ep/about/'), forward(aboutcontrol)],
diff --git a/trunk/etherpad/src/templates/tag/tag_search.ejs b/trunk/etherpad/src/templates/tag/tag_search.ejs
index ccf38ff..9284665 100644
--- a/trunk/etherpad/src/templates/tag/tag_search.ejs
+++ b/trunk/etherpad/src/templates/tag/tag_search.ejs
@@ -58,7 +58,9 @@ limitations under the License. */ %>
<div id="padsidebar">
<div id="padusers">
- XYZZY
+ <a href="/ep/pad/newpad" id="home-newpad">
+ Create new pad
+ </a>
</div>
<div id="hdraggie"><!-- --></div>