Nuevo plugin Additionals 2.0.20
This commit is contained in:
parent
a2a901b71b
commit
93e1e28683
354 changed files with 40514 additions and 0 deletions
17
plugins/additionals/app/views/wiki/_calendar_macros.html.slim
Executable file
17
plugins/additionals/app/views/wiki/_calendar_macros.html.slim
Executable file
|
@ -0,0 +1,17 @@
|
|||
.month-calendar id="month-calendar-#{id}"
|
||||
javascript:
|
||||
$("#month-calendar-#{id}").datepicker({
|
||||
language: "#{locale}",
|
||||
calendarWeeks: #{options[:show_weeks]},
|
||||
todayHighlight: true,
|
||||
multidate: true,
|
||||
disableTouchKeyboard: true,
|
||||
defaultViewDate: {
|
||||
year: #{options[:year]},
|
||||
month: #{options[:month]},
|
||||
day: 1
|
||||
}
|
||||
});
|
||||
- unless selected.empty?
|
||||
javascript:
|
||||
$('#month-calendar-#{id}').datepicker('setDates', #{selected});
|
Loading…
Add table
Add a link
Reference in a new issue