Commit e0bee390 authored by Sacred Seven's avatar Sacred Seven

Precompiling JalaliDatePicker assets

parent b8ca423c
...@@ -41,6 +41,11 @@ ...@@ -41,6 +41,11 @@
#= require shortcuts_issueable #= require shortcuts_issueable
#= require shortcuts_network #= require shortcuts_network
#= require_tree . #= require_tree .
#
#= require JalaliJSCalendar-1.4/jalali
#= require JalaliJSCalendar-1.4/calendar
#= require JalaliJSCalendar-1.4/calendar-setup
#= require JalaliJSCalendar-1.4/lang/calendar-fa
window.slugify = (text) -> window.slugify = (text) ->
text.replace(/[^-a-zA-Z0-9]+/g, '_').toLowerCase() text.replace(/[^-a-zA-Z0-9]+/g, '_').toLowerCase()
......
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
*= require highlightjs.min *= require highlightjs.min
*= require_self *= require_self
*= require dropzone/basic *= require dropzone/basic
*
*= require JalaliJSCalendar-1.4/calendar-blue
*/ */
@import "main/*"; @import "main/*";
......
= stylesheet_link_tag "JalaliJSCalendar-1.4/calendar-blue"
= javascript_include_tag "JalaliJSCalendar-1.4/jalali"
= javascript_include_tag "JalaliJSCalendar-1.4/calendar"
= javascript_include_tag "JalaliJSCalendar-1.4/calendar-setup"
= javascript_include_tag "JalaliJSCalendar-1.4/lang/calendar-fa"
%h3.page-title %h3.page-title
Broadcast Messages Broadcast Messages
%p.light %p.light
......
= stylesheet_link_tag "JalaliJSCalendar-1.4/calendar-blue"
= javascript_include_tag "JalaliJSCalendar-1.4/jalali"
= javascript_include_tag "JalaliJSCalendar-1.4/calendar"
= javascript_include_tag "JalaliJSCalendar-1.4/calendar-setup"
= javascript_include_tag "JalaliJSCalendar-1.4/lang/calendar-fa"
%h3.page-title= @milestone.new_record? ? "New Milestone" : "Edit Milestone ##{@milestone.iid}" %h3.page-title= @milestone.new_record? ? "New Milestone" : "Edit Milestone ##{@milestone.iid}"
.back-link .back-link
= link_to project_milestones_path(@project) do = link_to project_milestones_path(@project) do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment