From 73fba6ef98209406f1cf5f2ee00a9dc384b4a2fc Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Mon, 19 Mar 2012 23:11:11 -0400
Subject: [PATCH] Display fewer content fragments for blobs
---
src/com/gitblit/wicket/pages/EmptyRepositoryPage.html | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/src/com/gitblit/wicket/pages/EmptyRepositoryPage.html b/src/com/gitblit/wicket/pages/EmptyRepositoryPage.html
index 4f0b9bd..2b7cd02 100644
--- a/src/com/gitblit/wicket/pages/EmptyRepositoryPage.html
+++ b/src/com/gitblit/wicket/pages/EmptyRepositoryPage.html
@@ -4,26 +4,28 @@
xml:lang="en"
lang="en">
-<wicket:head>
- <link href="markdown.css" type="text/css" rel="stylesheet" />
-</wicket:head>
-
<body>
<wicket:extend>
<!-- markdown message -->
- <div class="markdown" style="margin-top:-15px;padding-bottom:10px;">
+ <div class="markdown">
<h2>Empty Repository</h2>
<p></p>
<span wicket:id="repository" style="font-weight: bold;">[repository]</span> is an empty repository and can not be viewed by Gitblit.
<p></p>
Please push some commits to <span wicket:id="pushurl"></span>
<p></p>
- <h3>Git Command-Line Syntax</h3>
- <pre wicket:id="syntax"></pre>
+ <h3>Git Command-Line Syntax</h3>
+ <span style="padding-bottom:5px;">If you do not have a local Git repository, then you should clone this repository, commit some files, and then push your commits back to Gitblit.</span>
+ <p></p>
+ <pre style="padding-top:5px;" wicket:id="cloneSyntax"></pre>
+ <p></p>
+ <span style="padding-bottom:5px;">If you already have a local Git repository with commits, then you may add this repository as a remote and push to it.</span>
+ <p></p>
+ <pre wicket:id="remoteSyntax"></pre>
<p></p>
<h3>Learn Git</h3>
- If you are lost or don't know what to do with this information, consider reviewing the excellent <a href="http://progit.org/book" target="_blank">Pro Git</a> book for a better understanding on how to use Git.
+ If you are unsure how to use this information, consider reviewing the <a href="http://book.git-scm.com">Git Community Book</a> or <a href="http://progit.org/book" target="_blank">Pro Git</a> for a better understanding on how to use Git.
<p></p>
<h4>Open Source Git Clients</h4>
<ul>
--
Gitblit v1.9.1