<human>: Give me the gist of the text in a nutshell

Throwaway time. (This happened a few years ago when I was 17.)

It was a boring history lesson and we were reading a short extract. Our history teacher was good looking but I wasn't attracted to him. Some girls were obviously into him but like a good authoritative figure, he never acknowledged their advances or flirty attempts (not saying it happened 24/7 but it did happen every now and then.) 

Anyway, back to the lesson. He was going around and generally helping out students when they got stuck. At one point he stood right next to me with his back turned. His ass was basically near me and naturally the students (well the girls, not the guys) who were seated around me all went like ;). 

I chose to seize the moment. There was an overall murmur in class and he was busy explaining stuff to some guy behind me so I coughed and mumbled "*dat ass*". It was almost a whisper and very inaudible (or at least I thought so...)

Girls around me were giggling/laughing but then suddenly my friend looked at me with an *OH SHIT* expression so I turned around, expecting the worst. My teacher looked straight at me and said "I'll see you after class." Everyone who witnessed what happened tried to stifle their laughter.

Well after class I awkwardly sat in my seat as everyone left. He then proceeded to give me a lecture about how "inappropriate" my remark was and that he "expected better of me". He also explained that he doesn't want things like this to be passed around at school as it reflects badly on him. At the end he told me that I'd be staying behind everyday for the whole week, but with another teacher. 

I was pretty mortified about the whole situation and apologized, red faced. I complained about the excessive punishment but he told me "you only have yourself to blame." There was no point in trying to argue so I just silently left when he dismissed me.
<bot>: Mumbled "dat ass" as my teacher had his back turned to me. He heard and made me stay behind. Ended up with a weeks detention with another teacher (and I'm not sure if they knew what happened.)