OpenSource » SampleCode » Brail2Razor
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

Updated the handling of large code blocks

Changeset 6c4fad22a080

Parent 4e4c1d05bc11

by Profile picture of Daniel PupekDaniel Pupek

Changes to 3 files · Browse files at 6c4fad22a080 Showing diff from parent 4e4c1d05bc11 Diff from another changeset...

 
385
386
387
388
 
389
390
391
 
385
386
387
 
388
389
390
391
@@ -385,7 +385,7 @@
    finalResult = AddSemiColonsRegex.Replace(finalResult, "$1;\n");   - finalResult = string.Format("@{{{0}}}", finalResult); + finalResult = string.Format("@({0})", finalResult);   }   else   {
 
14
15
16
 
17
18
19
 
 
20
21
 
 
22
23
 
24
25
 
 
26
27
 
28
29
30
 
49
50
51
52
 
 
 
 
 
 
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
 
58
59
60
 
 
61
62
63
 
@@ -14,17 +14,26 @@
   <% if item.AcademicOverrideAdmin == null and not rt == rt :%>   +<% end %>    <% if rondell is null:%>   +<% end %> +  <% if rondell is null :%>   +<% end %> +  <% if item.AcademicOverrideAdmin == null and not rt == rt and not re != re.Tom() :%>   +<% end %>  <% if item.AcademicOverrideAdmin == null and not rt == rt and not re != re.Eddie :%>   +<% end %> +  <% if not item.AcademicOverrideAdmin == null and rt == rt and not re != re.Eddie :%>   +<% end %>    <% if item.AcademicOverrideAdmin == null and rt == rt :%>   @@ -49,4 +58,6 @@
  </button>   <% end %>   <button type="button" onclick="aoTool.deleteAssignmentStatus(this); return false;"><span class="icon bomb">Destroy</span></button> - </div> \ No newline at end of file
+ </div> + + <% end %> \ No newline at end of file
 
12
13
14
 
15
16
17
 
 
18
19
 
 
20
21
 
22
23
 
 
24
25
 
26
27
28
 
32
33
34
35
 
36
37
38
39
40
 
41
42
43
 
48
49
50
51
 
 
 
 
 
 
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
 
41
42
43
 
44
45
46
47
48
 
49
50
51
52
 
57
58
59
 
 
60
61
62
 
@@ -12,17 +12,26 @@
   @if(item.AcademicOverrideAdmin == null && !(rt == rt) ){   +}    @if(rondell == null){   +} +  @if(rondell == null ){   +} +  @if(item.AcademicOverrideAdmin == null && !(rt == rt && !(re != re.Tom())) ){   +}  @if(item.AcademicOverrideAdmin == null && !(rt == rt && !(re != re.Eddie)) ){   +} +  @if(!(item.AcademicOverrideAdmin == null )&& rt == rt && !(re != re.Eddie) ){   +}    @if(item.AcademicOverrideAdmin == null && rt == rt ){   @@ -32,12 +41,12 @@
      <button type="button" onclick="aoTool.overrideAssignmentStatus(this);"><span class="icon save">Override</span></button> - @{disabled = " disabled=\"disabled\""; + @(disabled = " disabled=\"disabled\"";    if( assignmentStatus != null && assignmentStatus.AcademicOverride){  disabled = "";   -}} +})   <button type="button" onclick="aoTool.removeAssignmentStatusOverride(this);"@disabled><span class="icon undo">Undo Override</span></button>     @@ -48,4 +57,6 @@
  </button>   }   <button type="button" onclick="aoTool.deleteAssignmentStatus(this); return false;"><span class="icon bomb">Destroy</span></button> - </div> \ No newline at end of file
+ </div> + + } \ No newline at end of file