This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def test_proper_localization_for_czech | |
| falsify_today | |
| hostname 'www.application.cz' | |
| get :index | |
| assert_tag :tag => 'h1', :content => 'Program Květen/Červen 2008' | |
| assert_select '#topMenu a', :text => 'English' | |
| assert_select '#headMenu strong', :text => 'Program' | |
| assert_select '#program_item_2008-05-30 .day a', :text => 'pátek 30/05' | |
| end | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <%- @event.entrance_fees.reverse.each do |fee| -%> | |
| <li><%= t('number.currency.format.unit') %> <%= "<span title=\"#{fee.description}\">#{fee.price}</span>" %> <%= " <em>(#{fee.description})</em>" if fee.description && !fee.description.empty? %> </li> | |
| <%- end -%> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <%= link_to_remote("Kalendář", | |
| {:url => calendar_path, :method => 'get', :loading => 'Aplication.Calendar.loading()', :complete => 'Aplication.Calendar.loaded()'}, | |
| {:href => calendar_path, :class => 'calendar-link'}) | |
| %> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link rel="stylesheet" href="/stylesheets/index.css" type="text/css" media="screen, projection" /> | |
| <link rel="stylesheet" href="/stylesheets/sifr.css" media="all" type="text/css" /> | |
| <!--[if IE]><link rel="stylesheet" href="/stylesheets/ie.css" type="text/css" media="screen, projection" /><![endif]--> | |
| <link rel="stylesheet" href="/stylesheets/print.css" type="text/css" media="print" /> | |
| <script src="/javascripts/sifr.js" type="text/javascript"></script> | |
| <script src="/javascripts/sifr-config.js" type="text/javascript"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link rel="stylesheet" href="/stylesheets/index.css" type="text/css" media="screen, projection" /> | |
| <link rel="stylesheet" href="/stylesheets/sifr.css" media="all" type="text/css" /> | |
| <!--[if IE]><link rel="stylesheet" href="/stylesheets/ie.css" type="text/css" media="screen, projection" /><![endif]--> | |
| <link rel="stylesheet" href="/stylesheets/print.css" type="text/css" media="print" /> | |
| <script src="/javascripts/sifr.js" type="text/javascript"></script> | |
| <script src="/javascripts/sifr-config.js" type="text/javascript"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| Skript, ktery podle vyhledavani v databazi vypise seznam obci pro naseptavac | |
| */ | |
| // Pridame stare kodovani, protoze default je utf8 | |
| header("Content-Type: text/html; charset=windows-1250"); | |
| // Nacteme funkce pro pripojeni k databazi atd. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Nacteme hledany retezec do promenne | |
| $q = strtolower( $_GET["q"] ); | |
| if (!$q) return; | |
| // Pripojime se k databazi | |
| mysql_connect( $db_host, $db_user, $db_pass ) or die( mysql_error() ); | |
| mysql_select_db( $db_name ) or die( mysql_error() ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| print.css: | |
| #logo img | |
| { | |
| display: none; | |
| } | |
| #logo:after { | |
| content: url('/images/logo.print.png'); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Delete/Move Rails default files | |
| log 'moving', 'Rails default files' | |
| run "mv README doc/README_FOR_RAILS" | |
| run "rm public/index.html" | |
| # Copy database.yml | |
| log "copying", "database.yml" | |
| run "cp config/database.yml config/database.example.yml" | |
| # Set up .gitignore files |
OlderNewer