diff --git a/rhodecode/templates/changelog/changelog_summary_data.html b/rhodecode/templates/changelog/changelog_summary_data.html new file mode 100644 --- /dev/null +++ b/rhodecode/templates/changelog/changelog_summary_data.html @@ -0,0 +1,103 @@ +## -*- coding: utf-8 -*- +%if c.repo_changesets: +
| ${_('Revision')} | +${_('Commit message')} | +${_('Age')} | +${_('Author')} | +${_('Refs')} | +
|---|---|---|---|---|
|
+
+
+
+ %if c.statuses.get(cs.raw_id):
+
+
+ %if c.statuses.get(cs.raw_id)[2]:
+
+
+ %endif
+ ${h.show_id(cs)}+ |
+ + ${h.urlify_commit(h.truncate(cs.message,50),c.repo_name, h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))} + | ++ ${h.age(cs.date)} + | +${h.person(cs.author)} | +
+ %if h.is_hg(c.rhodecode_repo):
+ %for book in cs.bookmarks:
+
+ ${h.link_to(h.shorter(book),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
+
+ %endfor
+ %endif
+ %for tag in cs.tags:
+
+ ${h.link_to(h.shorter(tag),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
+
+ %endfor
+ %if cs.branch:
+
+ ${h.link_to(h.shorter(cs.branch),h.url('changelog_home',repo_name=c.repo_name,branch=cs.branch))}
+
+ %endif
+ |
+
+ ${c.rhodecode_repo.alias} clone ${c.clone_repo_url}
+ ${c.rhodecode_repo.alias} add README # add first file
+ ${c.rhodecode_repo.alias} commit -m "Initial" # commit with message
+ ${c.rhodecode_repo.alias} push ${'origin master' if h.is_git(c.rhodecode_repo) else ''} # push changes back
+
+
+
+%if h.is_git(c.rhodecode_repo):
+ git remote add origin ${c.clone_repo_url}
+ git push -u origin master
+%else:
+ hg push ${c.clone_repo_url}
+%endif
+
+%endif