This commit is contained in:
Wojciech Todryk 2012-06-18 21:34:30 +02:00
parent 0c3e911553
commit 0a2bbed2a0
10 changed files with 97 additions and 64 deletions

View file

@ -1,3 +1,5 @@
## Authors
* Luben Manolov <luben.manolov@gmail.com>
* Nick Penkov <nick.penkov@gmail.com>
* Eugene Korbut

View file

@ -1,10 +1,16 @@
## Changes
#### 0.9.1
* nowrap to edit column in contacts & links
* decoded changed in mail gem
* fixes in pl locale
#### 0.9.0
* switch to Rails 3.2.x
* Tweeter Bootstrap as default theme
* many fixes
* switch to Rails 3.2.x
* Tweeter Bootstrap as default theme
* many fixes
#### 0.8.6

View file

@ -1,3 +1,5 @@
## License
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or

View file

@ -0,0 +1,53 @@
$blue: #0088CC
$outline: #DDDDDD
$month: #0044CC
$outside: #DDDDDD
$today: #DA4F49
.calendar
margin-bottom: 18px
h3
color: $month
table
width: 100%
border: 1px solid $outline
border-collapse: separate
border-radius: 4px 4px 4px 4px
td
text-align: right
margin: 2px
padding: 2px
border-top: 1px solid $outline
border-left: 1px solid $outline
td.wday
color: $blue
font-weight: bold
text-align: center
td.corner
border-top: 0 none
border-left: 0 none
td.weekend
background-color: $outline
td.outside
background-color: white
color: $outside
td.today
background-color: $today
color: white
font-weight: bold
td.weeknum
color: $blue
font-weight: bold
text-align: center
.calendar.square
td.wday
border-top: 0 none
td.weeknum
border-left: 0 none
.calendar.window
td.monthnum
border-top: 0 none
tr > td:first-child
border-left: 0 none

View file

@ -1,5 +1,5 @@
%tr
%td
%td{:nowrap=>"nowrap"}
= check_box_tag "items_ids[]", contact.id
\/
= link_to "<i class=\"icon-edit\"></i>".html_safe,edit_contact_path(contact)

View file

@ -16,38 +16,8 @@
= raw BlueCloth::new(render :file => 'CHANGES.markdown').to_html
.well
= raw BlueCloth::new(render :file => 'TODO.markdown').to_html
-#
<% content_for :title do %>
- <%= t(:about,:scope=>:internal) %>
<% end %>
<% content_for :sidebar do %>
<%= content_for_sidebar %>
<% end %>
<div class="block">
<div class="navigation-tabs clearfix">
<%= raw single_navigation(:about,:internal) %>
</div>
<div class="content">
<h4>
<%= t(:current_version,:scope=>:internal) + ": " + $defaults["version"] %>
</h4>
<div class="md">
<%= raw BlueCloth::new(render :file => 'README.markdown').to_html %>
</div>
<div class="md">
<%= raw BlueCloth::new(render :file => 'CHANGES').to_html %>
</div>
<div class="md">
<%= raw BlueCloth::new(render :file => 'TODO').to_html %>
</div>
</div>
.well
= raw BlueCloth::new(render :file => 'AUTHORS.markdown').to_html
.well
= raw BlueCloth::new(render :file => 'UNLICENSE.markdown').to_html

View file

@ -1,5 +1,5 @@
%tr
%td
%td{:nowrap=>"nowrap"}
= check_box_tag "items_ids[]", link.id
\/
= link_to "<i class=\"icon-edit\"></i>".html_safe,edit_link_path(link)

View file

@ -30,8 +30,7 @@ pl:
goto: Idź do
contact:
nick: Pseudonim
first_name: Imię
last_name: Nazwisko
name: Nazwa
email: E-mail
info: Informacje dodatkowe
prefs:
@ -86,6 +85,7 @@ pl:
were_imported: Kontakty zostały zaimportowane
format_error: Nieprawidłowy format kontaktu
select_file: Wybierz plik
delete_selected: Usuń wybrane
link:
link: Sznurek

View file

@ -1,4 +1,4 @@
version: 0.9.0
version: 0.9.1
theme: olive
locale: pl

View file

@ -7,17 +7,17 @@ module Mail
def decoded_and_charseted
begin
if not charset.upcase == 'UTF-8'
charset.nil? ? source_charset = $defaults["msg_unknown_charset"] : source_charset = charset
charseted = Iconv.iconv("UTF-8",source_charset,decoded).first
else
charseted = decoded
end
rescue
decoded
end
decoded
#begin
#if not charset.upcase == 'UTF-8'
#charset.nil? ? source_charset = $defaults["msg_unknown_charset"] : source_charset = charset
#charseted = Iconv.iconv("UTF-8",source_charset,decoded).first
#else
#charseted = decoded
#end
#rescue
#decoded
#end
end
def isImage?
@ -75,17 +75,17 @@ module Mail
end
def decoded_and_charseted
begin
if not charset.upcase == 'UTF-8'
charset.nil? ? source_charset = $defaults["msg_unknown_charset"] : source_charset = charset
charseted = Iconv.iconv("UTF-8",source_charset,decoded).first
else
charseted = decoded
end
rescue
decoded
end
decoded
#begin
#if not charset.upcase == 'UTF-8'
#charset.nil? ? source_charset = $defaults["msg_unknown_charset"] : source_charset = charset
#charseted = Iconv.iconv("UTF-8",source_charset,decoded).first
#else
#charseted = decoded
#end
#rescue
#decoded
#end
end