Commit 6d1b0dd9e3191127de2b897790009d656539bf06
- Date: Thu May 01 19:28:39 +0000 2008
- Committer: mtkd (mtkd@prj2.com)
- Author: mtkd (mtkd@prj2.com)
- Commit SHA1: 6d1b0dd9e3191127de2b897790009d656539bf06
- Tree SHA1: 865ecde65869274c224100697d31fdda74bf0043
- app/views/site/ac_index.html.erb 1 +
- test/fixtures/tickets.yml 9 +++++++++
- app/views/layouts/application.html.erb 3 -++
- app/helpers/application_helper.rb 5 -++++
Commit diff
- Diff rendering mode:
- inline
- side by side
app/helpers/application_helper.rb
|   | ||
| 1 | 1 | # Methods added to this helper will be available to all templates in the application. |
| 2 | 2 | module ApplicationHelper |
| 3 | ||
| 4 | 3 | |
| 5 | 4 | def default_css_tag_sizes |
| 6 | 5 | %w(tag_size_1 tag_size_2 tag_size_3 tag_size_4) |
| … | … | |
| 113 | 113 | def title (page_title) |
| 114 | 114 | content_for(:title) { page_title } |
| 115 | 115 | end |
| 116 | ||
| 117 | def meta_description (text) | |
| 118 | content_for(:meta_description, %Q{<meta name="#{text}" content="" />}) | |
| 119 | end | |
| 116 | 120 | |
| 117 | 121 | def div_no_breadcrumb |
| 118 | 122 | %Q{<div id='no_breadcrumb'></div>} |
| toggle raw diff | ||
app/views/layouts/application.html.erb
|   | ||
| 4 | 4 | <html> |
| 5 | 5 | <head> |
| 6 | 6 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> |
| 7 | <%= yield(:meta_description) %> | |
| 7 | 8 | <link rel="icon" href="/favicon.ico" type="image/ico"> |
| 8 | 9 | <link rel="shortcut icon" href="/favicon.ico"> |
| 9 | 10 | <link rel='alternate' type='application/rss+xml' title='RSS Feed' href='/rss.xml'/> |
| … | … | |
| 22 | 22 | <% end -%> |
| 23 | 23 | |
| 24 | 24 | <div id="system_message"> |
| 25 | ||
| 25 | <p><strong>Notice:</strong> This site is unstable work-in-progress, source for it is available on <a href='http://gitorious.org/projects/gitlab/'>gitorious.org</a>. Contact <a href='mailto:mtkd@prj2.com'>mtkd@prj2.com</a></p> | |
| 26 | 26 | </div> |
| 27 | 27 | |
| 28 | 28 | <div id='header'> |
| toggle raw diff | ||
app/views/site/ac_index.html.erb
|   | ||
| 1 | 1 | <% title 'Home' %> |
| 2 | <% meta_description 'The full stack to manage collaborative Git projects online, yourself.' %> | |
| 2 | 3 | |
| 3 | 4 | <%= div_breadcrumb_open %> |
| 4 | 5 | <%= breadcrumb_title("Home") %> |
| toggle raw diff | ||
test/fixtures/tickets.yml
|   | ||
| 39 | 39 | submitter_id: <%= users(:mtkd) %> |
| 40 | 40 | audience: :public |
| 41 | 41 | |
| 42 | 38: | |
| 43 | id: 38 | |
| 44 | title: "Do testing specs" | |
| 45 | <<: *DEFAULTS | |
| 46 | milestone_id: <%= milestones(:gitlabpublic) %> | |
| 47 | ttype: :task #:defect, :enhancement, :task | |
| 48 | status: :proposed #:proposed, :open, :closed, :deleted | |
| 49 | impact: :low #:low, :high, :security | |
| 50 | priority: :high #:none, :low, :high, :critical | |
| 42 | 51 | |
| 43 | 52 | 37: |
| 44 | 53 | id: 37 |
| toggle raw diff | ||
