junebug-wiki 0.0.23 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +6 -0
- data/lib/junebug/version.rb +1 -1
- data/lib/junebug/views.rb +8 -7
- metadata +2 -2
data/History.txt
CHANGED
data/lib/junebug/version.rb
CHANGED
data/lib/junebug/views.rb
CHANGED
|
@@ -23,7 +23,7 @@ module Junebug::Views
|
|
|
23
23
|
def show
|
|
24
24
|
_header (@version.version == @page.version ? :backlinks : :show)
|
|
25
25
|
_body do
|
|
26
|
-
_button 'edit', R(Edit, @page.title_url, @version.version), {:style=>'float: right; margin: 0 0 5px 5px;'} if (@version.version == @page.version && (! @page.readonly || is_admin?))
|
|
26
|
+
_button 'edit', R(Edit, @page.title_url, @version.version), {:style=>'float: right; margin: 0 0 5px 5px;', :accesskey => 'e'} if (@version.version == @page.version && (! @page.readonly || is_admin?))
|
|
27
27
|
h1 @page.title
|
|
28
28
|
_markup @version.body
|
|
29
29
|
_button 'edit', R(Edit, @page.title_url, @version.version), {:style=>'float: right; margin: 5px 0 0 5px;'} if (@version.version == @page.version && (! @page.readonly || is_admin?)) && (@version.body && @version.body.size > 200)
|
|
@@ -67,25 +67,26 @@ module Junebug::Views
|
|
|
67
67
|
small " word characters (0-9A-Za-z), dashes, and spaces only"
|
|
68
68
|
}
|
|
69
69
|
p {
|
|
70
|
-
|
|
70
|
+
a 'syntax help', :href => 'http://hobix.com/textile/', :target=>'_blank', :style => 'float: right;'
|
|
71
|
+
label 'Page Content '
|
|
71
72
|
br
|
|
72
73
|
textarea @page.body, :name => 'post_body', :rows => 17, :cols => 80
|
|
73
74
|
}
|
|
75
|
+
input :type => 'submit', :name=>'submit', :value=>'cancel', :class=>'button', :style=>'float: right;'
|
|
76
|
+
input :type => 'submit', :name=>'submit', :value=>'save', :class=>'button', :style=>'float: right;', :accesskey => 's'
|
|
74
77
|
if is_admin?
|
|
75
78
|
opts = { :type => 'checkbox', :value=>'1', :name => 'post_readonly' }
|
|
76
79
|
opts[:checked] = 1 if @page.readonly
|
|
77
80
|
input opts
|
|
78
81
|
text " Readonly "
|
|
82
|
+
br
|
|
79
83
|
end
|
|
80
84
|
if @page.user_id == @state.user.id
|
|
81
85
|
input :type=>'checkbox', :value=>'1', :name=>'quicksave'
|
|
82
|
-
text "
|
|
86
|
+
text " Minor edit (don't increment version) "
|
|
83
87
|
end
|
|
84
|
-
|
|
85
|
-
input :type => 'submit', :name=>'submit', :value=>'cancel', :class=>'button', :style=>'float: right;'
|
|
86
|
-
input :type => 'submit', :name=>'submit', :value=>'save', :class=>'button', :style=>'float: right;'
|
|
88
|
+
|
|
87
89
|
end
|
|
88
|
-
a 'syntax help', :href => 'http://hobix.com/textile/', :target=>'_blank'
|
|
89
90
|
br :clear=>'all'
|
|
90
91
|
}
|
|
91
92
|
end
|
metadata
CHANGED
|
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
|
|
|
3
3
|
specification_version: 1
|
|
4
4
|
name: junebug-wiki
|
|
5
5
|
version: !ruby/object:Gem::Version
|
|
6
|
-
version: 0.0.
|
|
7
|
-
date: 2006-11-
|
|
6
|
+
version: 0.0.24
|
|
7
|
+
date: 2006-11-29 00:00:00 -08:00
|
|
8
8
|
summary: Junebug is a minimalist ruby wiki running on Camping.
|
|
9
9
|
require_paths:
|
|
10
10
|
- lib
|